Embedded TCP/IP stack
4.7.0
|
typedef fnet_return_t(* fnet_http_srv_ssi_handle_t) (fnet_char_t *query, fnet_uint32_t *cookie) |
Callback function prototype of the SSI parameters handler.
query | SSI directive parameter string (null-terminated). The parameter string is set to whatever appears between SSI command tag and –> in the SSI directive itself. |
cookie | This parameter points to the value, initially set to zero, which can be used to associate a custom information with a connection instance. If application store context information in the cookie , it will be preserved for future calls for this request. This allows the application to associate some request-specific state. |
The SSI parser invokes this callback function, when it meets SSI directive in the HTML file and the SSI command name corresponds to the name registered in the SSI table.
The query
points to the SSI parameters string. If SSI directive does not have any parameters, the query
points to the blank string.
Definition at line 69 of file fnet_http_srv_ssi.h.