IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int CGI_Install_Headers_Table ( unsigned int  entries,
CUSTOM_HEADERS_TABLE headersTable 
)

This function installs a custom headers table. The custom headers table references to the custom MIME table. So the headers table assigns every mime type defined in the MIME table one or more correspondent headers fields. The tables must be persistent. The RTOS does not make a copy.

Parameters:
entries Number of entries in custom headers table (must be equal to the custom mime table size).
headersTable Pointer to custom headers table
Returns:
zero on success, -1 on failure (wrong number of entries).
Since:
SC2x3 V1.10 - CLIB V1.05
See also:
CGI_Remove_Headers_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