src/server/daemon/session.h

changeset 385
a1f4cb076d2f
parent 333
bb536d4bc174
child 415
d938228c382e
equal deleted inserted replaced
210:21274e5950af 385:a1f4cb076d2f
45 Connection *connection; 45 Connection *connection;
46 netbuf *netbuf; 46 netbuf *netbuf;
47 threadpool_t *currentpool; 47 threadpool_t *currentpool;
48 threadpool_t *defaultpool; 48 threadpool_t *defaultpool;
49 49
50 char *buffer;
51 int pos;
52 int cursize;
53
54 UcxAllocator allocator;
55
50 ServerConfiguration *config; 56 ServerConfiguration *config;
51 }; 57 };
52 58
53 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify); 59 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify);
54 60
55 /* new functions */ 61 /* new functions */
56 62
57 // get the server configuration of this session 63 // get the server configuration of this session
58 NSAPI_PUBLIC void* session_get_config(Session *s); 64 NSAPI_PUBLIC void* session_get_config(Session *s);
59 65
66 NSAPI_PUBLIC void* session_get_allocator(Session *sn);
67
60 #ifdef __cplusplus 68 #ifdef __cplusplus
61 } 69 }
62 #endif 70 #endif
63 71
64 #endif /* SESSION_H */ 72 #endif /* SESSION_H */

mercurial