pespin submitted this change.

View Change

Approvals: laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified
cbsp_server.h: Move function to the proper section

Change-Id: I47f694c2ffa1df50394ff01977ddb85768657062
---
M src/cbsp_server.h
1 file changed, 4 insertions(+), 3 deletions(-)

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));

To view, visit change 28298. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: I47f694c2ffa1df50394ff01977ddb85768657062
Gerrit-Change-Number: 28298
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged