49 |
49 |
50 char *buffer; |
50 char *buffer; |
51 int pos; |
51 int pos; |
52 int cursize; |
52 int cursize; |
53 |
53 |
54 UcxAllocator allocator; |
|
55 |
|
56 ServerConfiguration *config; |
54 ServerConfiguration *config; |
57 }; |
55 }; |
58 |
56 |
59 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify); |
57 NSAPI_PUBLIC char *session_dns_lookup(Session *s, int verify); |
60 |
58 |
61 /* new functions */ |
59 /* new functions */ |
62 |
60 |
63 // get the server configuration of this session |
61 // get the server configuration of this session |
64 NSAPI_PUBLIC void* session_get_config(Session *s); |
62 NSAPI_PUBLIC void* session_get_config(Session *s); |
65 |
63 |
66 NSAPI_PUBLIC void* session_get_allocator(Session *sn); |
|
67 |
64 |
68 #ifdef __cplusplus |
65 #ifdef __cplusplus |
69 } |
66 } |
70 #endif |
67 #endif |
71 |
68 |