#include "tool_setup.h"
#include "strcase.h"
#include "curlx.h"
#include "tool_binmode.h"
#include "tool_cfgable.h"
#include "tool_cb_prg.h"
#include "tool_formparse.h"
#include "tool_getparam.h"
#include "tool_helpers.h"
#include "tool_libinfo.h"
#include "tool_metalink.h"
#include "tool_msgs.h"
#include "tool_paramhlp.h"
#include "tool_parsecfg.h"
#include "memdebug.h"
Go to the source code of this file.
Classes | |
struct | LongShort |
Defines | |
#define | ENABLE_CURLX_PRINTF |
#define | GetStr(str, val) |
Functions | |
static void | GetFileAndPassword (char *nextarg, char **file, char **password) |
ParameterError | getparameter (char *flag, char *nextarg, bool *usedarg, struct GlobalConfig *global, struct OperationConfig *config) |
ParameterError | parse_args (struct GlobalConfig *config, int argc, argv_item_t argv[]) |
static void | parse_cert_parameter (const char *cert_parameter, char **certname, char **passphrase) |
Variables | |
static struct LongShort | aliases [] |
#define ENABLE_CURLX_PRINTF |
Definition at line 26 of file tool_getparam.c.
do { \ if(*(str)) { \ free(*(str)); \ *(str) = NULL; \ } \ if((val)) { \ *(str) = strdup((val)); \ if(!(*(str))) \ return PARAM_NO_MEM; \ } \ } WHILE_FALSE
Definition at line 48 of file tool_getparam.c.
static void GetFileAndPassword | ( | char * | nextarg, |
char ** | file, | ||
char ** | password | ||
) | [static] |
Definition at line 405 of file tool_getparam.c.
ParameterError getparameter | ( | char * | flag, |
char * | nextarg, | ||
bool * | usedarg, | ||
struct GlobalConfig * | global, | ||
struct OperationConfig * | config | ||
) |
Definition at line 418 of file tool_getparam.c.
ParameterError parse_args | ( | struct GlobalConfig * | config, |
int | argc, | ||
argv_item_t | argv[] | ||
) |
Definition at line 2004 of file tool_getparam.c.
static void parse_cert_parameter | ( | const char * | cert_parameter, |
char ** | certname, | ||
char ** | passphrase | ||
) | [static] |
Definition at line 309 of file tool_getparam.c.
Definition at line 66 of file tool_getparam.c.