Adds a Key-Value Pair object to the form table.
Files
http-c.h/http-c.c
Prototype
Arguments
p_form_tbl
Pointer to the form table into which to include the key-value pair.
p_key_val
Pointer to the key-value pair to put in the 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.