Nut/OS  5.0.5
API Reference
Server side includes
Collaboration diagram for Server side includes:

Typedefs

typedef const char *(* HTTP_SSI_VARHANDLER )(HTTPD_SESSION *, const char *)
 SSI variable handler type.

Functions

int HttpSsiHandler (HTTPD_SESSION *hs, const MEDIA_TYPE_ENTRY *mt, const char *filepath)
 Default SSI handler.
HTTP_SSI_VARHANDLER HttpRegisterSsiVarHandler (HTTP_SSI_VARHANDLER handler)
 Register SSI handler for variables.

Detailed Description

$Id$


Typedef Documentation

typedef const char*(* HTTP_SSI_VARHANDLER)(HTTPD_SESSION *, const char *)

SSI variable handler type.


Function Documentation

int HttpSsiHandler ( HTTPD_SESSION hs,
const MEDIA_TYPE_ENTRY mt,
const char *  filepath 
)

Default SSI handler.

References _close(), _O_BINARY, _O_RDONLY, _open(), ct_Expires, gmtime(), HttpSendError(), HttpSendHeaderBottom(), HttpSendHeaderTop(), HttpSsiProcessFile(), _MEDIATYPE::media_subtype, _MEDIATYPE::media_type, NULL, Rfc1123TimeString(), s_puts(), _HTTPD_SESSION::s_stream, s_vputs(), and time().

Referenced by ISC_LIST().

Here is the call graph for this function:

HTTP_SSI_VARHANDLER HttpRegisterSsiVarHandler ( HTTP_SSI_VARHANDLER  handler)

Register SSI handler for variables.

References rc.