160 |
160 |
161 int send_cgi(pblock *pb, Session *sn, Request *rq); |
161 int send_cgi(pblock *pb, Session *sn, Request *rq); |
162 |
162 |
163 char** cgi_add_vars(char **env, Session *sn, Request *rq); |
163 char** cgi_add_vars(char **env, Session *sn, Request *rq); |
164 |
164 |
165 int cgi_start(CGIProcess *p, char *path, char *const argv[], char *const envp[]); |
165 int cgi_start(Request *rq, CGIProcess *p, char *path, char *const argv[], char *const envp[]); |
166 |
166 |
167 int cgi_close(CGIProcess *p); |
167 int cgi_close(CGIProcess *p); |
168 |
168 |
169 int cgi_stdout_readevent(EventHandler *ev, Event *event); |
169 int cgi_stdout_readevent(EventHandler *ev, Event *event); |
170 int cgi_stderr_readevent(EventHandler *ev, Event *event); |
170 int cgi_stderr_readevent(EventHandler *ev, Event *event); |