--- 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; +} +