Macros | Functions
tool_formparse.c File Reference
#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"
Include dependency graph for tool_formparse.c:

Go to the source code of this file.

Macros

#define ENABLE_CURLX_PRINTF
 

Functions

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)
 

Macro Definition Documentation

#define ENABLE_CURLX_PRINTF

Definition at line 27 of file tool_formparse.c.

Function Documentation

static CURLcode file_or_stdin ( curl_mimepart part,
const char *  file 
)
static

Definition at line 378 of file tool_formparse.c.

int formparse ( struct OperationConfig config,
const char *  input,
curl_mime **  mimepost,
curl_mime **  mimecurrent,
bool  literal_value 
)

Definition at line 435 of file tool_formparse.c.

static int get_param_part ( struct OperationConfig config,
char **  str,
char **  pdata,
char **  ptype,
char **  pfilename,
char **  pencoder,
struct curl_slist **  pheaders 
)
static

Definition at line 173 of file tool_formparse.c.

static char* get_param_word ( char **  str,
char **  end_pos 
)
static

Definition at line 44 of file tool_formparse.c.

static int read_field_headers ( struct OperationConfig config,
const char *  filename,
FILE *  fp,
struct curl_slist **  pheaders 
)
static

Definition at line 110 of file tool_formparse.c.

static int slist_append ( struct curl_slist **  plist,
const char *  data 
)
static

Definition at line 98 of file tool_formparse.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17