mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +03:00
tool_getparam: Added global config to getparameter()
In preparation for parsing global options added the GlobalConfig structure to the getparameter() function.
This commit is contained in:
parent
ad388a7d37
commit
0704dd770d
5 changed files with 15 additions and 14 deletions
|
|
@ -44,10 +44,9 @@ typedef enum {
|
|||
struct GlobalConfig;
|
||||
struct OperationConfig;
|
||||
|
||||
ParameterError getparameter(char *flag,
|
||||
char *nextarg,
|
||||
bool *usedarg,
|
||||
struct OperationConfig *config);
|
||||
ParameterError getparameter(char *flag, char *nextarg, bool *usedarg,
|
||||
struct GlobalConfig *global,
|
||||
struct OperationConfig *operation);
|
||||
|
||||
#ifdef UNITTESTS
|
||||
void parse_cert_parameter(const char *cert_parameter,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue