mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:33:37 +03:00
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.
This commit is contained in:
parent
efb8471a69
commit
b5fdbe848b
9 changed files with 1225 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue