src/server/daemon/session.c

changeset 385
a1f4cb076d2f
parent 211
2160585200ac
child 415
d938228c382e
equal deleted inserted replaced
210:21274e5950af 385:a1f4cb076d2f
38 // new 38 // new
39 NSAPI_PUBLIC void* session_get_config(Session *s) { 39 NSAPI_PUBLIC void* session_get_config(Session *s) {
40 NSAPISession *sn = (NSAPISession*)s; 40 NSAPISession *sn = (NSAPISession*)s;
41 return sn->config; 41 return sn->config;
42 } 42 }
43
44 NSAPI_PUBLIC void* session_get_allocator(Session *sn) {
45 return &((NSAPISession*)sn)->allocator;
46 }
47

mercurial