3 * @purpose Headers for the fastcgi web interface
9 /**HTTP status codes that fcgi module handlers can return**/
10 typedef enum StatusCodes {
12 STATUS_BADREQUEST = 400,
13 STATUS_UNAUTHORIZED = 401
16 typedef void (*ModuleHandler) (void *data, char *params);
18 extern char *FCGI_KeyPair(char *in, const char **key, const char **value);
19 extern void FCGI_BeginJSON(StatusCodes status_code, const char *module);
20 extern void FCGI_BuildJSON(const char *key, const char *value);
21 extern void FCGI_EndJSON();
22 extern void FCGI_RequestLoop (void *data);