File nut/pro/uhttp/modules/mod_cgi_func.c


Included Files


Local Variables

cgiFunctionList
static struct {...} cgiFunctionList
Used in: HttpCgiFunctionLookup()  
  HttpRegisterCgiFunction()  
  NutCgiProcessRequest()  
  NutRegisterCgi()  

Global Function HttpCgiFunctionHandler()

int HttpCgiFunctionHandler ( HTTPD_SESSION* hs, const MEDIA_TYPE_ENTRY* mt, const char* filepath )
Prototyped in: nut/include/pro/uhttp/modules/mod_cgi_func.h
Calls: HttpCgiFunctionLookup() nut/pro/uhttp/modules/mod_cgi_func.c
  strlen() nut/c/string/strlen.c
  strncasecmp()
Used in: NutAppMain() nut/app/uhttpd_upload/httpd_upload.c

Global Function HttpCgiFunctionLookup()

HTTP_CGI_FUNCTION* HttpCgiFunctionLookup ( const char* uri )
Calls: strcasecmp()
Called by: HttpCgiFunctionHandler() nut/pro/uhttp/modules/mod_cgi_func.c
References Variables: cgiFunctionList nut/pro/uhttp/modules/mod_cgi_func.c

Global Function HttpRegisterCgiFunction()

int HttpRegisterCgiFunction ( const char* uri, HTTP_CGI_HANDLER handler )
Prototyped in: nut/include/pro/uhttp/modules/mod_cgi_func.h
Calls: free() nut/crt/malloc.c
  strdup() nut/crt/strdup.c
  calloc(), strcasecmp()
Called by: NutAppMain() nut/app/uhttpd_upload/httpd_upload.c
  UpnpRegisterDeviceTree() nut/pro/upnp_dev.c
References Variables: cgiFunctionList nut/pro/uhttp/modules/mod_cgi_func.c