src/server/daemon/session.h

branch
webdav
changeset 211
2160585200ac
parent 46
636e05eb48f6
child 333
bb536d4bc174
equal deleted inserted replaced
210:21274e5950af 211:2160585200ac
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 UcxAllocator allocator;
51
50 ServerConfiguration *config; 52 ServerConfiguration *config;
51 }; 53 };
52 54
53 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify); 55 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify);
54 56
55 /* new functions */ 57 /* new functions */
56 58
57 // get the server configuration of this session 59 // get the server configuration of this session
58 NSAPI_PUBLIC void* session_get_config(Session *s); 60 NSAPI_PUBLIC void* session_get_config(Session *s);
59 61
62 NSAPI_PUBLIC void* session_get_allocator(Session *sn);
63
60 #ifdef __cplusplus 64 #ifdef __cplusplus
61 } 65 }
62 #endif 66 #endif
63 67
64 #endif /* SESSION_H */ 68 #endif /* SESSION_H */

mercurial