#include "curl_setup.h"
#include <curl/curl.h>
#include "urldata.h"
#include "formdata.h"
#include "mime.h"
#include "non-ascii.h"
#include "vtls/vtls.h"
#include "strcase.h"
#include "sendf.h"
#include "strdup.h"
#include "rand.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
|
static FormInfo * | AddFormInfo (char *value, char *contenttype, FormInfo *parent_form_info) |
|
static struct curl_httppost * | AddHttpPost (char *name, size_t namelength, char *value, curl_off_t contentslength, char *buffer, size_t bufferlength, char *contenttype, long flags, struct curl_slist *contentHeader, char *showfilename, char *userp, struct curl_httppost *parent_post, struct curl_httppost **httppost, struct curl_httppost **last_post) |
|
static const char * | ContentTypeForFilename (const char *filename, const char *prevtype) |
|
CURLFORMcode | curl_formadd (struct curl_httppost **httppost, struct curl_httppost **last_post,...) |
|
void | curl_formfree (struct curl_httppost *form) |
|
int | curl_formget (struct curl_httppost *form, void *arg, curl_formget_callback append) |
|
CURLcode | Curl_getformdata (struct Curl_easy *data, curl_mimepart *finalform, struct curl_httppost *post, curl_read_callback fread_func) |
|
static CURLFORMcode | FormAdd (struct curl_httppost **httppost, struct curl_httppost **last_post, va_list params) |
|
static CURLcode | setname (curl_mimepart *part, const char *name, size_t len) |
|
#define HTTPPOST_CONTENTTYPE_DEFAULT "application/octet-stream" |
static FormInfo* AddFormInfo |
( |
char * |
value, |
|
|
char * |
contenttype, |
|
|
FormInfo * |
parent_form_info |
|
) |
| |
|
static |
static struct curl_httppost* AddHttpPost |
( |
char * |
name, |
|
|
size_t |
namelength, |
|
|
char * |
value, |
|
|
curl_off_t |
contentslength, |
|
|
char * |
buffer, |
|
|
size_t |
bufferlength, |
|
|
char * |
contenttype, |
|
|
long |
flags, |
|
|
struct curl_slist * |
contentHeader, |
|
|
char * |
showfilename, |
|
|
char * |
userp, |
|
|
struct curl_httppost * |
parent_post, |
|
|
struct curl_httppost ** |
httppost, |
|
|
struct curl_httppost ** |
last_post |
|
) |
| |
|
static |
static const char* ContentTypeForFilename |
( |
const char * |
filename, |
|
|
const char * |
prevtype |
|
) |
| |
|
static |