IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ CGI_Install_MIME_Table()

int CGI_Install_MIME_Table ( unsigned int  entries,

This function installs a custom MIME table.

entriesNumber of entries in MIME table.
mimeTablePointer to custom MIME table.
In contrast to the legacy SC1x, SC2x, SC1x3 and SC2x3 systems, the @CHIP-RTOS-LNX does need to make a copy of this MIME table, because it cannot pass a pointer between separated memory spaces. As a consequence the size of the table itself is limited and the size of the individual string items is limited too.

The table can contain up to 20 entries.

The following limitations apply to the strings, longer values will be truncated:
  • The "mimeExt" can be up to 6 characters long, including zero termination.
  • The "mimeType" can be up to 128 characters long, including zero termination.
zero on success, -1 on failure.
See also

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:49 by Doxygen 1.8.13