src/server/daemon/request.h

changeset 415
d938228c382e
parent 260
4779a6fb4fbe
child 460
b9a447b02046
equal deleted inserted replaced
414:99a34860c105 415:d938228c382e
30 #define REQUEST_H 30 #define REQUEST_H
31 31
32 #include "../public/nsapi.h" 32 #include "../public/nsapi.h"
33 #include "../util/object.h" 33 #include "../util/object.h"
34 34
35 #include <ucx/map.h> 35 #include <cx/map.h>
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 extern "C" { 38 extern "C" {
39 #endif 39 #endif
40 40
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

mercurial