IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Data Structures | Macros | Typedefs | Enumerations
CGI API types and data structures

Detailed Description

The CGI API defines the following types:

Data Structures

struct  rpCgi
 CGI structure. More...
 
struct  CGI_Entry
 CGI entry. More...
 
struct  CUSTOM_MIMETYPES_TABLE
 MIME table. More...
 

Macros

#define CGI_FLAG_CALL_AGAIN   2
 Call CGI function again. More...
 
#define CGI_FLAG_REQUEST_ABORTED   4
 Request aborted. More...
 

Typedefs

typedef void(* RpCgiFuncPtr) (rpCgiPtr CgiRequestPtr)
 CGI function prototype. More...
 
typedef char * CUSTOM_CONTENTENCODING_TABLE
 Content encoding table. More...
 
typedef char * CUSTOM_HEADERS_TABLE
 Custom headers table. More...
 

Enumerations

enum  rpDataType {
  CGIDataTypeHtml = 0,
  CGIDataTypeImageGif = 1,
  CGIDataTypeApplet = 2,
  CGIDataTypeText = 3,
  CGIDataTypeImageJpeg = 4,
  CGIDataTypeImagePict = 5,
  CGIDataTypeImageTiff = 6,
  CGIDataTypeImagePng = 7,
  CGIDataTypeForm = 8,
  CGIDataTypeIpp = 9,
  CGIDataTypeCss = 10,
  CGIDataTypeXml = 11,
  CGIDataTypeWav = 12,
  CGIDataTypePdf = 13,
  CGIDataTypeJavaArchive = 14,
  CGIDataTypeOctet = 15,
  CGIDataTypeVndWapWml = 16,
  CGIDataTypeVndWapWbmp = 17,
  CGIDataTypeVndWapWmlc = 18,
  CGIDataTypeVndWapWmlscript = 19,
  CGIDataTypeVndWapWmlscriptc = 20,
  CGIDataTypeScaleVectGraph = 21,
  CGIDataTypeJnl = 22,
  CGIDataTypeImageIcon = 23,
  CGIDataTypeScaleVectGraphZipped = 24,
  CGIDataTypeJavascript = 25
}
 MIME data type definitions. More...
 
enum  rpCgiHttpRequest {
  CgiHttpGet = 1,
  CgiHttpHead = 2,
  CgiHttpPost = 3,
  CgiHttpPostMultipartFormData = 4,
  CgiHttpAll = 255
}
 HTTP request codes. More...
 
enum  rpCgiHttpResponse {
  CgiHttpOk = 0,
  CgiHttpOkStatic = 1,
  CgiHttpRedirect = 2,
  CgiHttpNotModified = 3,
  CgiHttpUnauthorized = 4,
  CgiHttpNotFound = 5,
  CgiHttpOKNoDoc = 6,
  CgiHttpNotAvail = 7,
  CgiHttpSrvError = 8
}
 HTTP response codes. More...
 





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Jun 8 2018 12:48:20 by Doxygen 1.8.13