summaryrefslogtreecommitdiff
path: root/src/tool_metalink.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-28 23:46:32 +0900
committerDaniel Stenberg <daniel@haxx.se>2012-05-26 23:09:37 +0200
commit53f2c02ac75360b53a8eba8d575e5fa55f8b3372 (patch)
tree1f0022915b41e9a87def212cb5465a2b52d3d528 /src/tool_metalink.h
parent1919352a10f7103d32fede9c2b8c427440dea517 (diff)
downloadcurl-53f2c02ac75360b53a8eba8d575e5fa55f8b3372.tar.gz
metalink: parse downloaded Metalink file
Parse downloaded Metalink file and add downloads described there. Fixed compile error without metalink support.
Diffstat (limited to 'src/tool_metalink.h')
-rw-r--r--src/tool_metalink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h
index e9f8162ab..39e6674d1 100644
--- a/src/tool_metalink.h
+++ b/src/tool_metalink.h
@@ -48,4 +48,6 @@ int count_next_metalink_resource(struct metalinkfile *mlfile);
void clean_metalink(struct Configurable *config);
+int parse_metalink(struct Configurable *config, const char *infile);
+
#endif /* HEADER_CURL_TOOL_METALINK_H */