#include "tool_setup.h"
#include "mime.h"
#include "strcase.h"
#include "curlx.h"
#include "tool_cfgable.h"
#include "tool_convert.h"
#include "tool_msgs.h"
#include "tool_formparse.h"
#include "memdebug.h"
Go to the source code of this file.
|
static CURLcode | file_or_stdin (curl_mimepart *part, const char *file) |
|
int | formparse (struct OperationConfig *config, const char *input, curl_mime **mimepost, curl_mime **mimecurrent, bool literal_value) |
|
static int | get_param_part (struct OperationConfig *config, char **str, char **pdata, char **ptype, char **pfilename, char **pencoder, struct curl_slist **pheaders) |
|
static char * | get_param_word (char **str, char **end_pos) |
|
static int | read_field_headers (struct OperationConfig *config, const char *filename, FILE *fp, struct curl_slist **pheaders) |
|
static int | slist_append (struct curl_slist **plist, const char *data) |
|
#define ENABLE_CURLX_PRINTF |
static int get_param_part |
( |
struct OperationConfig * |
config, |
|
|
char ** |
str, |
|
|
char ** |
pdata, |
|
|
char ** |
ptype, |
|
|
char ** |
pfilename, |
|
|
char ** |
pencoder, |
|
|
struct curl_slist ** |
pheaders |
|
) |
| |
|
static |
static char* get_param_word |
( |
char ** |
str, |
|
|
char ** |
end_pos |
|
) |
| |
|
static |
static int read_field_headers |
( |
struct OperationConfig * |
config, |
|
|
const char * |
filename, |
|
|
FILE * |
fp, |
|
|
struct curl_slist ** |
pheaders |
|
) |
| |
|
static |
static int slist_append |
( |
struct curl_slist ** |
plist, |
|
|
const char * |
data |
|
) |
| |
|
static |