www.beck-ipc.com

@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

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV1.16V1.00

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.11

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document