diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-19 18:35:10 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-19 18:35:10 +0200 |
commit | 5abf7f2ea492fced6824092e1ee471c40b714bde (patch) | |
tree | 6bf14fd5f04cc6effb8937475e47e65e73fd8de1 /include | |
parent | 060e46ea6dd6b25d851baaa8757b3531a37edb1a (diff) |
stream: add osmo_stream_srv_get_master
To obtain the information of the server data that this connection
belongs to.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/netif/stream.h b/include/osmocom/netif/stream.h index 34a3b37..ed399bf 100644 --- a/include/osmocom/netif/stream.h +++ b/include/osmocom/netif/stream.h @@ -20,6 +20,7 @@ struct osmo_stream_srv; struct osmo_stream_srv *osmo_stream_srv_create(void *ctx, struct osmo_stream_srv_link *link, int fd, int (*cb)(struct osmo_stream_srv *conn), int (*closed_cb)(struct osmo_stream_srv *conn), void *data); void *osmo_stream_srv_get_data(struct osmo_stream_srv *conn); +struct osmo_stream_srv_link *osmo_stream_srv_get_master(struct osmo_stream_srv *conn); struct osmo_fd *osmo_stream_srv_get_ofd(struct osmo_stream_srv *srv); void osmo_stream_srv_destroy(struct osmo_stream_srv *conn); |