pespin has submitted this change. ( 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, 4 insertions(+), 3 deletions(-)
Approvals: laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/cbsp_server.h b/src/cbsp_server.h index 9a87ef5..8e91a53 100644 --- a/src/cbsp_server.h +++ b/src/cbsp_server.h @@ -23,6 +23,10 @@ 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 { /* entry in osmo_cbsp_cbc.clients */ @@ -40,6 +44,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));