From 5abf7f2ea492fced6824092e1ee471c40b714bde Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 19 Aug 2012 18:35:10 +0200 Subject: stream: add osmo_stream_srv_get_master To obtain the information of the server data that this connection belongs to. --- include/osmocom/netif/stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3