From a0d7a26e32532ced9be033439be815bbabaaba00 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 28 Apr 2012 21:48:56 +0900 Subject: 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(). --- src/tool_metalink.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/tool_metalink.h') 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); -- cgit v1.2.3