25 #ifndef _FNET_HTTP_SRV_POST_H_ 27 #define _FNET_HTTP_SRV_POST_H_ 29 #if (FNET_CFG_HTTP_SRV && FNET_CFG_HTTP_SRV_POST && FNET_CFG_HTTP_SRV_VERSION_MAJOR)|| defined(__DOXYGEN__) fnet_http_srv_post_handle_t post_handle
Pointer to the POST query handler. It's optional.
POST-method callback function table.
fnet_http_srv_post_send_t post_send
Pointer to the POST response function. It's optional. This function actually creates dynamic content ...
fnet_char_t * name
File name associated with the POST-request.
fnet_return_t
General return codes, used by most of API functions.
unsigned long fnet_size_t
Unsigned integer type representing the size in bytes.
fnet_int32_t fnet_http_srv_session_t
HTTP session handle.
fnet_return_t(* fnet_http_srv_post_handle_t)(fnet_http_srv_session_t session, fnet_char_t *query, fnet_uint32_t *cookie)
Callback function prototype of the POST-method query handler.
fnet_size_t(* fnet_http_srv_post_send_t)(fnet_uint8_t *buffer, fnet_size_t buffer_size, fnet_bool_t *eof, fnet_uint32_t *cookie)
Callback function prototype of the POST-method response function.
fnet_http_srv_post_receive_t post_receive
Pointer to the POST receive function. It's optional. This function can be invoked multiple times to p...
char fnet_char_t
Type representing the charecter.
fnet_return_t(* fnet_http_srv_post_receive_t)(fnet_http_srv_session_t session, fnet_uint8_t *buffer, fnet_size_t buffer_size, fnet_uint32_t *cookie)
Callback function prototype of the POST-method receive function.