Nut/OS  4.10.3
API Reference
cgi.c File Reference
#include <sys/heap.h>
#include <stdlib.h>
#include <string.h>
#include <memdebug.h>
#include <pro/httpd.h>
Include dependency graph for cgi.c:

Go to the source code of this file.

Functions

void NutRegisterCgiBinPath (char *path)
 Register a new cgi-bin path.
int NutCgiCheckRequest (FILE *stream, REQUEST *req)
 Check if request is a cgi call.
int NutRegisterCgi (char *name, int(*func)(FILE *, REQUEST *))
 Register a CGI function.
void NutCgiProcessRequest (FILE *stream, REQUEST *req, int name_pos)
 Process an incoming CGI request.

Variables

CGIFUNCTION *volatile cgiFunctionList = 0
char * cgiBinPath = NULL