Attention is currently required from: neels, fixeria. msuraev has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/29087 )
Change subject: SIGTRAN: add function to check connection existence ......................................................................
Patch Set 12:
(2 comments)
File examples/sccp_test_vty.c:
https://gerrit.osmocom.org/c/libosmo-sccp/+/29087/comment/f7271048_33e03579 PS8, Line 44: int conn_id = atoi(argv[0]), ret;
I agree with Neels that doing "int a = ..., rc;" hides definition of rc. […]
Done
File src/sccp_scoc.c:
https://gerrit.osmocom.org/c/libosmo-sccp/+/29087/comment/d432aad6_5e08f6f2 PS12, Line 459: osmo_sccp_conn_id_exists
So this function basically converts the result of conn_find_by_id() to boolean. […]
I'm sorry but I've completely lost track of your though in here. We need boolean value but instead of writing function which gives it we should expose another function which doesn't because new symbol?