diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 12:59:59 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 13:09:20 +0000 |
commit | 705a4cb549d7cd798162430512f482ba930226d6 (patch) | |
tree | 19ef6feaee7e0e5ebbc9caeed1ed22d37f82f9eb /src/tool_metalink.h | |
parent | 6512e93be1d60eb9879676665c032f34e6940c70 (diff) | |
download | curl-705a4cb549d7cd798162430512f482ba930226d6.tar.gz |
tool_cfgable: Renamed Configurable structure to OperationConfig
To allow for the addition of a global config structure and prevent
confusion between the two.
Diffstat (limited to 'src/tool_metalink.h')
-rw-r--r-- | src/tool_metalink.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h index f0390bbae..7dc21e53d 100644 --- a/src/tool_metalink.h +++ b/src/tool_metalink.h @@ -101,7 +101,7 @@ extern const digest_params SHA256_DIGEST_PARAMS[1]; * Counts the resource in the metalinkfile. */ int count_next_metalink_resource(metalinkfile *mlfile); -void clean_metalink(struct Configurable *config); +void clean_metalink(struct OperationConfig *config); /* * Performs final parse operation and extracts information from @@ -113,7 +113,7 @@ void clean_metalink(struct Configurable *config); * -1: Parsing failed; or no file is found * -2: Parsing succeeded with some warnings. */ -int parse_metalink(struct Configurable *config, struct OutStruct *outs, +int parse_metalink(struct OperationConfig *config, struct OutStruct *outs, const char *metalink_url); /* @@ -142,7 +142,7 @@ int check_metalink_content_type(const char *content_type); * No checksum in Metalink supported, hash algorithm not available, or * Metalink does not contain checksum. */ -int metalink_check_hash(struct Configurable *config, +int metalink_check_hash(struct OperationConfig *config, metalinkfile *mlfile, const char *filename); |