IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int CGI_Install_ContentEncoding_Table ( unsigned int  entries,
CUSTOM_CONTENTENCODING_TABLE contentEncodingTable 
)

This function installs a custom content-encoding table. 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 tables must be persistent. The RTOS does not make a copy.

Parameters:
entries Number of entries in content-encoding table (must be equal to the custom mime table size).
contentEncodingTable Pointer to custom content-encoding table
Returns:
zero on success, -1 on failure (wrong number of entries).
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
CGI_Remove_ContentEncoding_Table()





Top of page | Main page

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