summaryrefslogtreecommitdiff
path: root/src/tool_sdecls.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-04-26 22:59:52 +0900
committerDaniel Stenberg <daniel@haxx.se>2012-05-26 23:07:42 +0200
commitb5fdbe848bc3d088445817aa890d3f2f74ac5b02 (patch)
treec74203901cba4d4b9916fad127bdfe6778622ee6 /src/tool_sdecls.h
parentefb8471a69e0b5b9fe2296954b4917e294392372 (diff)
downloadcurl-b5fdbe848bc3d088445817aa890d3f2f74ac5b02.tar.gz
Support Metalink.
This change adds experimental Metalink support to curl. To enable Metalink support, run configure with --with-libmetalink. To feed Metalink file to curl, use --metalink option like this: $ curl -O --metalink foo.metalink We use libmetalink to parse Metalink files.
Diffstat (limited to 'src/tool_sdecls.h')
-rw-r--r--src/tool_sdecls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tool_sdecls.h b/src/tool_sdecls.h
index 3482538ec..d0b9cc27f 100644
--- a/src/tool_sdecls.h
+++ b/src/tool_sdecls.h
@@ -101,6 +101,9 @@ struct getout {
#define GETOUT_USEREMOTE (1<<2) /* use remote file name locally */
#define GETOUT_UPLOAD (1<<3) /* if set, -T has been used */
#define GETOUT_NOUPLOAD (1<<4) /* if set, -T "" has been used */
+#ifdef HAVE_LIBMETALINK
+#define GETOUT_METALINK (1<<5) /* set when Metalink download */
+#endif /* HAVE_LIBMETALINK */
/*