chiark / gitweb /
Found in chiark:/usr/local/lib/user-cgi/cgi/check
[userv-utils.git] / www-cgi / ucgi.h
1 /**/
2
3 #ifndef UCGI_H
4 #define UCGI_H
5
6 #include <stdlib.h>
7
8 #define MAX_ARGS 1024
9 #define MAX_USERNAME_LEN 1024
10 #define MAX_SCRIPTPATH_LEN 1024
11 #define MAX_ENVVAR_VALUE (1024*1024)
12
13 void syserror(const char *m);
14 void error(const char *m);
15 void *xmalloc(size_t sz);
16 void xsetenv(const char *en, const char *ev, int overwrite);
17
18 extern const char *const envok[];
19 extern const int nenvok;
20 extern int debugmode;
21
22 #endif