www.beck-ipc.com

@CHIP-RTOS C Library - Common Gateway Interface API


CGI_GetFormItem

Split a form item into name and value.

void CGI_GetFormItem ( const char far *ArgumentBufferPtr,
                       FormItem far *formitem );

This function is deprecated! Use CGI_GetArgument instead.

Parameters

ArgumentBufferPtr

Input Parameter:   Pointer to argument buffer to be parsed.

formitem

Input/Output Parameters:   Pointer to a FormItem type structure

Return Value

-- none --

Comments

On initial call, the ArgumentBufferPtr provided by the caller is a copy of the fArgumentBufferPtr member of the rbCgi structure passed by the Web server to the CGI callback function.   On subsequent calls to pick up additional form items, the pointer returned from the CGI_GetNextItem function can be used here.

Prior to calling the two members of the FormItem structure must be set by the caller.   Both member pointers in the FormItem data structure reference buffers allocated by the user, which will receive strings produced by this API call.

See Also

RTOS API

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

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

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


End of document