src/server/safs/cgi.h

changeset 415
d938228c382e
parent 254
4784c14aa639
child 430
83560f32e7d5
equal deleted inserted replaced
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);

mercurial