Found in chiark:/info
[userv-utils] / www-cgi / ucgi.h
CommitLineData
6a580c17 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
13void syserror(const char *m);
14void error(const char *m);
15void *xmalloc(size_t sz);
16void xsetenv(const char *en, const char *ev, int overwrite);
17
18extern const char *const envok[];
19extern const int nenvok;
20extern int debugmode;
21
22#endif