IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int SSI_Set_File_Filter ( char *  matchStr,
SSI_MATCH_TYPES  matchType,
int  server 
)

This function sets the Server Side Include (SSI) file filter.

Parameters:
matchStr Pointer to null-terminated string depending on the machted type
matchType Match type, possible values are:

 SSI_MATCH_FILE_NAME (0x01) = File name, Example: "table.htm"
 SSI_MATCH_FILE_EXT  (0x02) = File extension, Example: "htm"
 SSI_MATCH_FILE_PATH (0x03) = Full path to file, Example: "/web/ssi/table.htm"
 SSI_MATCH_DIR_NAME  (0x04) = Directory name, Example: "ssi"
 SSI_MATCH_DIR_PATH  (0x05) = Directory path, Example: "/web/ssi"
server 0 = register for HTTP server, 1 = register for HTTPS (SSL) server
Returns:
zero on success, non-zero on failure. Return value contains error code CGI_INVALID_ARGUMENT or CGI_INVALID_METHOD.
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
SSI_Register_Tag() SSI_Set_TagLength()





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:38 2017 by Doxygen 1.6.1