aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsup_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsup_server.h')
-rw-r--r--src/gsup_server.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gsup_server.h b/src/gsup_server.h
index e49d283..9c4d483 100644
--- a/src/gsup_server.h
+++ b/src/gsup_server.h
@@ -16,6 +16,9 @@ struct osmo_gsup_conn;
typedef int (*osmo_gsup_read_cb_t)(struct osmo_gsup_conn *conn, struct msgb *msg);
struct osmo_gsup_server {
+ /* private data of the application/user */
+ void *priv;
+
/* list of osmo_gsup_conn */
struct llist_head clients;
@@ -53,7 +56,8 @@ struct osmo_gsup_server *osmo_gsup_server_create(void *ctx,
const char *ip_addr,
uint16_t tcp_port,
osmo_gsup_read_cb_t read_cb,
- struct llist_head *lu_op_lst);
+ struct llist_head *lu_op_lst,
+ void *priv);
void osmo_gsup_server_destroy(struct osmo_gsup_server *gsups);