25 #ifndef _FNET_HTTP_SRV_CGI_H_ 27 #define _FNET_HTTP_SRV_CGI_H_ 29 #if (FNET_CFG_HTTP_SRV && FNET_CFG_HTTP_SRV_CGI) || defined(__DOXYGEN__) 40 #define FNET_HTTP_SRV_CGI_EXTENSION "cgi" fnet_char_t * name
CGI file name.
fnet_http_srv_cgi_send_t send
Pointer to the CGI response function. This function actually creates dynamic content of the CGI respo...
fnet_http_srv_cgi_handle_t handle
Pointer to the CGI query handler. It's optional.
fnet_return_t(* fnet_http_srv_cgi_handle_t)(fnet_http_srv_session_t session, fnet_char_t *query, fnet_uint32_t *cookie)
Callback function prototype of the CGI query handler.
fnet_size_t(* fnet_http_srv_cgi_send_t)(fnet_uint8_t *buffer, fnet_size_t buffer_size, fnet_bool_t *eof, fnet_uint32_t *cookie)
Callback function prototype of the CGI response function.
fnet_return_t
General return codes, used by most of API functions.
CGI callback function table.
unsigned long fnet_size_t
Unsigned integer type representing the size in bytes.
fnet_int32_t fnet_http_srv_session_t
HTTP session handle.
char fnet_char_t
Type representing the charecter.