aboutsummaryrefslogtreecommitdiff
path: root/src/tool_metalink.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-28 21:48:56 +0900
committerDaniel Stenberg <daniel@haxx.se>2012-05-26 23:08:13 +0200
commita0d7a26e32532ced9be033439be815bbabaaba00 (patch)
tree387cd7200667f17a4758c818ff7e136c603610c3 /src/tool_metalink.h
parentbb1ce6cc0b65e04e0698896dbe0efac7959d18de (diff)
metalink: show help message even if disabled
Print message if --metalink is used while metalink support is not enabled. Migrated Metalink support in tool_operate.c and removed operatemetalink().
Diffstat (limited to 'src/tool_metalink.h')
-rw-r--r--src/tool_metalink.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h
index c8534503a..e9f8162ab 100644
--- a/src/tool_metalink.h
+++ b/src/tool_metalink.h
@@ -41,13 +41,10 @@ struct metalinkfile *new_metalinkfile(metalink_file_t *metalinkfile);
struct metalink *new_metalink(metalink_t *metalink);
-int operatemetalink(CURL *curl,
- struct getout *urlnode,
- long retry_sleep_default,
- struct OutStruct outs,
- struct OutStruct heads,
- char *outfiles,
- struct Configurable *config);
+/*
+ * Counts the resource in the metalinkfile.
+ */
+int count_next_metalink_resource(struct metalinkfile *mlfile);
void clean_metalink(struct Configurable *config);