@CHIP-RTOS C Library - Common Gateway Interface API
CGI_Install_ContentEncoding_Table
Install user custom content-encoding table int CGI_Install_ContentEncoding_Table( unsigned int entries,
CUSTOM_CONTENTENCODING_TABLE far *contentEncodingTable);
Parameters
entries
- Number of entries in content-encoding table (must be equal to
the user custom mime table size).
contentEncodingTable
- Pointer to custom
content-encoding table
Return Value
- 0: OK
-1: Error (wrong number of entries)
Comments
- The content encoding table references to the custom MIME table.
So the content encoding table assigns every mime type defined
in the MIME table a correspondent content encoding type.
The MIME table must be persistent. The RTOS does not make a copy.
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 | SC2x |
-
n/a | n/a | n/a | V1.16 | V1.00 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|