pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28298 )
Change subject: cbsp_server.h: Move function to the proper section ......................................................................
cbsp_server.h: Move function to the proper section
Change-Id: I47f694c2ffa1df50394ff01977ddb85768657062 --- M src/cbsp_server.h 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/98/28298/1
diff --git a/src/cbsp_server.h b/src/cbsp_server.h index 9a87ef5..47d2d9e 100644 --- a/src/cbsp_server.h +++ b/src/cbsp_server.h @@ -22,6 +22,9 @@ /* receive call-back; called for every received message */ int (*rx_cb)(struct osmo_cbsp_cbc_client *client, struct osmo_cbsp_decoded *dec); }; +struct osmo_cbsp_cbc *cbsp_cbc_create(void *ctx, const char *bind_ip, int bind_port, + int (*rx_cb)(struct osmo_cbsp_cbc_client *client, + struct osmo_cbsp_decoded *dec));
/* a single (remote) client connected to the (local) CBC server */ struct osmo_cbsp_cbc_client { @@ -40,6 +43,3 @@ const char *cbsp_cbc_client_name(const struct osmo_cbsp_cbc_client *client); void cbsp_cbc_client_tx(struct osmo_cbsp_cbc_client *client, struct osmo_cbsp_decoded *cbsp); void cbsp_cbc_client_close(struct osmo_cbsp_cbc_client *client); -struct osmo_cbsp_cbc *cbsp_cbc_create(void *ctx, const char *bind_ip, int bind_port, - int (*rx_cb)(struct osmo_cbsp_cbc_client *client, - struct osmo_cbsp_decoded *dec));