src/server/daemon/session.c

changeset 385
a1f4cb076d2f
parent 211
2160585200ac
child 415
d938228c382e
--- a/src/server/daemon/session.c	Tue Aug 13 22:14:32 2019 +0200
+++ b/src/server/daemon/session.c	Sat Sep 24 16:26:10 2022 +0200
@@ -40,3 +40,8 @@
     NSAPISession *sn = (NSAPISession*)s;
     return sn->config;
 }
+
+NSAPI_PUBLIC void* session_get_allocator(Session *sn) {
+    return &((NSAPISession*)sn)->allocator;
+}
+

mercurial