aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index c72de3c..a455d84 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -523,6 +523,11 @@ osmo_stream_srv_get_ofd(struct osmo_stream_srv *link)
return &link->ofd;
}
+struct osmo_stream_srv_link *osmo_stream_srv_get_master(struct osmo_stream_srv *conn)
+{
+ return conn->srv;
+}
+
void osmo_stream_srv_destroy(struct osmo_stream_srv *conn)
{
close(conn->ofd.fd);