123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef HEADER_CURL_FORMDATA_H
- #define HEADER_CURL_FORMDATA_H
- typedef struct FormInfo {
- char *name;
- bool name_alloc;
- size_t namelength;
- char *value;
- bool value_alloc;
- curl_off_t contentslength;
- char *contenttype;
- bool contenttype_alloc;
- long flags;
- char *buffer;
- size_t bufferlength;
- char *showfilename;
- bool showfilename_alloc;
- char *userp;
- struct curl_slist *contentheader;
- struct FormInfo *more;
- } FormInfo;
- CURLcode Curl_getformdata(struct Curl_easy *data,
- curl_mimepart *,
- struct curl_httppost *post,
- curl_read_callback fread_func);
- #endif
|