Nut/OS  5.0.5
API Reference
mod_cgi_func.h File Reference
#include <isc/list.h>
#include <pro/uhttp/mediatypes.h>
Include dependency graph for mod_cgi_func.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _HTTP_CGI_FUNCTION
 Common gateway interface function entry structure. More...

Typedefs

typedef struct _HTTP_CGI_FUNCTION HTTP_CGI_FUNCTION
 Common gateway interface function entry type.
typedef int(* HTTP_CGI_HANDLER )(HTTPD_SESSION *)

Functions

int HttpRegisterCgiFunction (const char *uri, HTTP_CGI_HANDLER handler)
 Register a common gateway interface function.
int HttpCgiFunctionHandler (HTTPD_SESSION *hs, const MEDIA_TYPE_ENTRY *mt, const char *filepath)
 Default media type handler for CGI functions.