Enum etc.c.curl.CurlFormAdd
use this for multipart formpost building
Returns code for curl_formadd
()
The enum base type is
.
int
Enum members
Name | Description |
---|---|
disabled
|
libcurl was built with this disabled
|
illegal_array
|
|
incomplete
|
|
last
|
|
memory
|
|
null_ptr
|
|
ok
|
first, no error |
option_twice
|
|
unknown_option
|
Returns
CURL_FORMADD_OK on success
CURL_FORMADD_MEMORY if the FormInfo allocation fails
CURL_FORMADD_OPTION_TWICE if one option is given twice for one Form
CURL_FORMADD_NULL if a null pointer was given for a char
CURL_FORMADD_MEMORY if the allocation of a FormInfo struct failed
CURL_FORMADD_UNKNOWN_OPTION if an unknown option was used
CURL_FORMADD_INCOMPLETE if the some FormInfo is not complete (or error)
CURL_FORMADD_MEMORY if a curl_httppost
struct cannot be allocated
CURL_FORMADD_MEMORY if some allocation for string copying failed.
CURL_FORMADD_ILLEGAL_ARRAY if an illegal option is used in an array