01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Comments<br />

typedef struct {<br />

//******************************************************<br />

// Request fields (Read Only!!!!)<br />

//******************************************************<br />

unsigned char fConnectionId; // -- internal use only -int<br />

fHttpRequest; // get, post, head<br />

char *fPathPtr; // URL<br />

char *fHostPtr; // Host:<br />

char *fRefererPtr; // (at time not supported)<br />

char *fAgentPtr; // (at time not supported)<br />

char *fLanguagePtr; // (at time not supported)<br />

unsigned long fBrowserDate; // Date: (internal)<br />

char *fArgumentBufferPtr; // Pointer to argument buf<br />

long fArgumentBufferLength; // Length of argument buf<br />

char *fUserNamePtr; // Username from Authorization<br />

char *fPasswordPtr; // Password from Authorization<br />

long *fRemoteIPPtr; // new at V1.00 Beta, points to the remoteIP,<br />

// you must split the octets<br />

// For using the IP to etsablish TCP/IP<br />

// connections, you have to exchange<br />

// lowbyte and highbyte!<br />

//******************************************************<br />

// Response fields (Set by CGI function)<br />

//******************************************************<br />

int fResponseState; // -- internal, do not modify -int<br />

fHttpResponse; // Response httpmsg e.g. CgiHttpOk<br />

int fDataType; // Content type, e.g. text/HTML, text/plain<br />

char *fResponseBufferPtr; // Pointer to the created page<br />

long fResponseBufferLength; // Length of the page (max. length is 65519 chars)<br />

unsigned long fObjectDate; // -- internal, do not modify -unsigned<br />

int fHostIndex; // -- internal, do not modify --<br />

} rpCgi, *rpCgiPtr;<br />

fDataType<br />

This is an enumeration type that specifies the filetype.<br />

Related Topics<br />

Top of list<br />

Index page<br />

CGI Callback Function<br />

End of document<br />

Page 371 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!