aboutsummaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_getparam.h')
-rw-r--r--src/tool_getparam.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tool_getparam.h b/src/tool_getparam.h
index 159319072..9ecd35401 100644
--- a/src/tool_getparam.h
+++ b/src/tool_getparam.h
@@ -41,12 +41,12 @@ typedef enum {
PARAM_LAST
} ParameterError;
+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,
@@ -54,7 +54,7 @@ void parse_cert_parameter(const char *cert_parameter,
char **passphrase);
#endif
-ParameterError parse_args(struct OperationConfig *config, int argc,
+ParameterError parse_args(struct GlobalConfig *config, int argc,
argv_item_t argv[]);
#endif /* HEADER_CURL_TOOL_GETPARAM_H */