src/server/daemon/session.h

changeset 385
a1f4cb076d2f
parent 333
bb536d4bc174
child 415
d938228c382e
--- a/src/server/daemon/session.h	Tue Aug 13 22:14:32 2019 +0200
+++ b/src/server/daemon/session.h	Sat Sep 24 16:26:10 2022 +0200
@@ -47,6 +47,12 @@
     threadpool_t *currentpool;
     threadpool_t *defaultpool;
     
+    char *buffer;
+    int pos;
+    int cursize;
+    
+    UcxAllocator allocator;
+    
     ServerConfiguration *config;
 };
 
@@ -57,6 +63,8 @@
 // get the server configuration of this session
 NSAPI_PUBLIC void* session_get_config(Session *s);
 
+NSAPI_PUBLIC void* session_get_allocator(Session *sn);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial