HTTPc_FormAddKeyValExt
Adds an Extended Key-Value Pair object to the form table.
Files
http-c.h/http-c.c
Prototype
void HTTPc_FormAddKeyValExt (HTTPc_FORM_TBL_FIELD *p_form_tbl, HTTPc_KEY_VAL_EXT *p_key_val_ext, HTTPc_ERR *p_err);
Arguments
p_form_tbl
Pointer to the form table into which to include the extended key-value pair.
p_key_val_ext
Pointer to the Extended Key-Value Pair object to put in table.
p_err
Pointer to variable that will receive the return error code from this function:
HTTPc_ERR_NONE
HTTPc_ERR_NULL_PTR
HTTPc_ERR_FORM_FIELD_INVALID
Returned Values
None.
Required Configuration
The preprocessor macro configuration HTTPc_CFG_FORM_EN
must be set to DEF_ENABLED
.
Notes / Warnings
See the example here for a example on how to use this function correctly.