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:
committed by
Daniel Stenberg
parent
efb8471a69
commit
b5fdbe848b
@@ -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 */
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user