www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - Common Gateway Interface API


CGI_GetNextItem

Get the next item formular tag.

int CGI_GetNextItem ( char far *ArgumentBufferPtr,
                      char far **nextItemString );

Parameters

ArgumentBufferPtr

CGI request argument pointer.

nextItemString

Pointer to the found item.

Return Value

0:    Item was found
-1:    No more items found

Comments

Most formulars have more than one item.   This function searches for the next form item in a CGI request argument string.   It can only be used after a CGI_GetFormItem call.

The string referenced by ArgumentBufferPtr is not modified in any way by this function.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


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


End of document