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:
Steve Holme 2014-02-23 12:59:59 +00:00
parent 6512e93be1
commit 705a4cb549
32 changed files with 99 additions and 103 deletions

View file

@ -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 */