mirror of
https://github.com/curl/curl.git
synced 2026-08-05 06:16:12 +03:00
tool_cfgable: Renamed Configurable structure to OperationConfig
To allow for the addition of a global config structure and prevent confusion between the two.
This commit is contained in:
parent
6512e93be1
commit
705a4cb549
32 changed files with 99 additions and 103 deletions
|
|
@ -41,12 +41,12 @@ typedef enum {
|
|||
PARAM_LAST
|
||||
} ParameterError;
|
||||
|
||||
struct Configurable;
|
||||
struct OperationConfig;
|
||||
|
||||
ParameterError getparameter(char *flag,
|
||||
char *nextarg,
|
||||
bool *usedarg,
|
||||
struct Configurable *config);
|
||||
struct OperationConfig *config);
|
||||
|
||||
#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 Configurable *config, int argc,
|
||||
ParameterError parse_args(struct OperationConfig *config, int argc,
|
||||
argv_item_t argv[]);
|
||||
|
||||
#endif /* HEADER_CURL_TOOL_GETPARAM_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue