1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #ifndef CGIUTILS_H
30 #define CGIUTILS_H
31
32 #include "../public/nsapi.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 int cgi_parse_query(
char **argv,
int n,
char *q);
39 char **cgi_create_argv(
const char *program,
const char *script,
const char *query);
40 void cgi_free_argv(
char **args);
41 char* cgi_get_request_uri(Request *req);
42 char** cgi_specific_vars(Session *sn, Request *rq,
const char *args,
43 char** env,
int scriptVars);
44 char** cgi_common_vars(Session *sn, Request *rq,
char **env);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50 #endif
51
52