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