Function Prototypes:ttHttpdUserSsiHandler
Table of Contents >> Application Reference >> Web Server
| int ttHttpdUserSsiHandler | ( |
| ttHttpdUserConHandle userConHandle, | |
| ttUserConstCharPtr tagPtr | |
| ); |
Function Description
This function is defined by the user and called by the Treck Web Server to process SSI tags.
Parameters
- userConHandle
- User Web Server connection handle
- tagPtr
- A pointer to the entire null-terminated matching tag found in a SSI enabled page. For example
"<!--#cust sendfile readme.htm disableoutput>"
- A pointer to the entire null-terminated matching tag found in a SSI enabled page. For example
Returns
- TM_HTTPD_OUTPUT_ENABLE
- Enable web server to output static contents.
- TM_HTTPD_OUTPUT_DISABLE
- Prevent web server from outputing static contents.
- TM_HTTPD_ABORT_PAGE
- Stop processing the current file. Additional nesting files will be served.
- Other
- The web server will send an error message to the HTTP Client and stop serving the HTTP request.