@CHIP-RTOS C Library V2.06 - Common Gateway Interface API
SSI_Register_Tag
Register Server Side Include (SSI) tag string int SSI_Register_Tag( const char far * tagStr,
SSI_Handler handler,
int server); Parameters
tagStr
- Tag string, Pointer to null-terminated string
handler
- Pointer to callback function
Callback function prototype:
typedef
int huge (far *SSI_Handler) (unsigned long conhandle, const char far * tagPtr);
Possible callback function return values:
SSI_OUTPUT_ENABLE(0x00) = Enable web server to output static content
SSI_OUTPUT_DISABLE(0x01) = Disable web server to output static content
SSI_ABORT_PAGE(0x02) = Stop processing the current file
other = The web server will send an error message and stop serving the HTTP request
server
- 0 = register for HTTP server
1 = register for HTTPS (SSL) server
Return Value
- 0: success
non-zero: Failure, return value contains error code CGI_INVALID_METHOD or
CGI_NO_FREE_ENTRY
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V0.91 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|