46 VirtualServer *vs; |
46 VirtualServer *vs; |
47 char *host; |
47 char *host; |
48 uint16_t port; |
48 uint16_t port; |
49 NSAPIContext context; |
49 NSAPIContext context; |
50 void *jvm_context; |
50 void *jvm_context; |
51 UcxMap *resources; |
51 CxMap *resources; |
52 }; |
52 }; |
53 |
53 |
54 /* macros for context access */ |
54 /* macros for context access */ |
55 #define NCX_OI(rq) rq->context.objset_index |
55 #define NCX_OI(rq) rq->context.objset_index |
56 #define NCX_DI(rq) rq->context.dtable_index |
56 #define NCX_DI(rq) rq->context.dtable_index |
57 |
57 |
58 #define REQ_HASHSIZE 10 |
58 #define REQ_HASHSIZE 10 |
59 |
59 |
60 int request_set_path(sstr_t root, sstr_t path, pblock *vars); |
60 int request_set_path(cxstring root, cxstring path, pblock *vars); |
61 |
61 |
62 #ifdef __cplusplus |
62 #ifdef __cplusplus |
63 } |
63 } |
64 #endif |
64 #endif |
65 |
65 |