aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/datagram.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/datagram.c b/src/datagram.c
index 5630114..6a28ff5 100644
--- a/src/datagram.c
+++ b/src/datagram.c
@@ -365,6 +365,11 @@ void osmo_dgram_set_data(struct osmo_dgram *conn, void *data)
conn->data = data;
}
+void *osmo_dgram_get_data(struct osmo_dgram *conn)
+{
+ return conn->data;
+}
+
int osmo_dgram_open(struct osmo_dgram *conn)
{
int ret;