414:99a34860c105 | 415:d938228c382e |
---|---|
28 | 28 |
29 #ifndef CGI_H | 29 #ifndef CGI_H |
30 #define CGI_H | 30 #define CGI_H |
31 | 31 |
32 #include "../public/nsapi.h" | 32 #include "../public/nsapi.h" |
33 #include <ucx/buffer.h> | 33 #include <cx/buffer.h> |
34 | 34 |
35 #ifdef __cplusplus | 35 #ifdef __cplusplus |
36 extern "C" { | 36 extern "C" { |
37 #endif | 37 #endif |
38 | 38 |
43 } CGIProcess; | 43 } CGIProcess; |
44 | 44 |
45 typedef struct { | 45 typedef struct { |
46 Session *sn; | 46 Session *sn; |
47 Request *rq; | 47 Request *rq; |
48 UcxBuffer *tmp; | 48 CxBuffer tmp; |
49 int status; | 49 int status; |
50 char *msg; | 50 char *msg; |
51 } CGIResponseParser; | 51 } CGIResponseParser; |
52 | 52 |
53 int send_cgi(pblock *pb, Session *sn, Request *rq); | 53 int send_cgi(pblock *pb, Session *sn, Request *rq); |