summaryrefslogtreecommitdiff
path: root/src/tool_metalink.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-23 12:59:59 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-23 13:09:20 +0000
commit705a4cb549d7cd798162430512f482ba930226d6 (patch)
tree19ef6feaee7e0e5ebbc9caeed1ed22d37f82f9eb /src/tool_metalink.c
parent6512e93be1d60eb9879676665c032f34e6940c70 (diff)
downloadcurl-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.c')
-rw-r--r--src/tool_metalink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tool_metalink.c b/src/tool_metalink.c
index 050f59d62..a9fdf62e9 100644
--- a/src/tool_metalink.c
+++ b/src/tool_metalink.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -594,7 +594,7 @@ static int check_hash(const char *filename,
return check_ok;
}
-int metalink_check_hash(struct Configurable *config,
+int metalink_check_hash(struct OperationConfig *config,
metalinkfile *mlfile,
const char *filename)
{
@@ -712,7 +712,7 @@ static metalinkfile *new_metalinkfile(metalink_file_t *fileinfo)
return f;
}
-int parse_metalink(struct Configurable *config, struct OutStruct *outs,
+int parse_metalink(struct OperationConfig *config, struct OutStruct *outs,
const char *metalink_url)
{
metalink_error_t r;
@@ -791,7 +791,7 @@ size_t metalink_write_cb(void *buffer, size_t sz, size_t nmemb,
void *userdata)
{
struct OutStruct *outs = userdata;
- struct Configurable *config = outs->config;
+ struct OperationConfig *config = outs->config;
int rv;
/*
@@ -878,7 +878,7 @@ static void delete_metalinkfile(metalinkfile *mlfile)
Curl_safefree(mlfile);
}
-void clean_metalink(struct Configurable *config)
+void clean_metalink(struct OperationConfig *config)
{
while(config->metalinkfile_list) {
metalinkfile *mlfile = config->metalinkfile_list;