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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Top of list<br />

Index page<br />

CGI_FINDNEXTITEM API Function<br />

Interrupt 0xAB service 0x08: CGI_FINDNEXTITEM, Return the address of the next formular<br />

tag<br />

Most formulars have more than one item, this function searches for the next form item in a CGI request<br />

argument string. This function can only be used after a CGIFORMITEM API call. (See example<br />

submit2.c)<br />

Parameters<br />

AH<br />

BX:SI<br />

0x08 (= CGI_FINDNEXTITEM)<br />

CGI request argument pointer<br />

Return Value<br />

Comments<br />

DX=0 AX=0, ES:DI: pointer to the found item<br />

DX=-1 AX=0, no next item was found<br />

The CGI request argument buffer pointer provided by the caller in BX:SI is initially taken from the rbCgi<br />

structure passed by the Web server to the CGI callback function.<br />

This function scans the buffer at [BX:SI] for an ampersand character, '&', and if found returns a pointer to<br />

the character in the string following the ampersand.<br />

The strings must be null terminated.<br />

Related Topics<br />

Top of list<br />

Index page<br />

CGI_GETFORMITEM API Function<br />

Interrupt 0xAB service 0x09: CGI_INSTALL_PAS, Install a Turbo Pascal CGI procedure<br />

Parameters<br />

AH<br />

Special install function for Turbo Pascal CGI procedures<br />

Page 363 / 400

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

Saved successfully!

Ooh no, something went wrong!