mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
37b58e3976
* bootstrap.conf: Add crypto/sha256 * configure.ac: Look for libmetalink and GPGME * doc/wget.texi: Add --input-metalink and --metalink-over-http options description. * po/POTFILES.in: Add metalink.c * src/Makefile.am: Add new translation unit (metalink.c) * src/http.c (http_stat): Add metalink field. (free_stat): Free metalink field. (find_key_value): Find value of given key in header string. (has_key): Check if token exists in header string. (find_key_values): Find all key=value pairs in header string. (metalink_from_http): Obtain Metalink metadata from HTTP response. (gethttp): Call metalink_from_http if requested. (http_loop): Request Metalink metadata from HTTP response if should be. Fall back to regular download if no Metalink metadata found. * src/init.c: Add --input-metalink and --metalink-over-http options * src/main.c (option_data): Handle --input-metalink and --metalink-over-http cmd arguments. (print_help): Print --input-metalink option description. (main): Retrieve files from Metalink file * src/metalink.c (retrieve_from_metalink): Download files described by metalink. (metalink_res_cmp): Comparator for resources priority-sorting. * src/metalink.h: Create header for metalink.c (RES_TYPE_SUPPORTED): Define supported resources media. (DEFAULT_PRI): Default mirror priority for Metalink over HTTP. (VALID_PRI_RANGE): Valid priority range. * src/options.h (options): Add input_metalink option and metalink_over_http options. * src/utils.c (hex_to_string): Convert binary data to ASCII-hex. * src/utils.h (hex_to_string): Add prototype. * src/wget.h: Add metalink-related error enums Add METALINK_METADATA flag for document type.
42 lines
693 B
Plaintext
42 lines
693 B
Plaintext
# List of files which containing translatable strings.
|
|
# Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
|
# 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
|
# Foundation, Inc.
|
|
|
|
# Package source files
|
|
lib/error.c
|
|
lib/gai_strerror.c
|
|
lib/getopt.c
|
|
lib/quotearg.c
|
|
lib/regcomp.c
|
|
lib/spawn-pipe.c
|
|
lib/w32spawn.h
|
|
lib/wait-process.c
|
|
lib/xalloc-die.c
|
|
src/connect.c
|
|
src/convert.c
|
|
src/cookies.c
|
|
src/ftp-ls.c
|
|
src/ftp.c
|
|
src/gnutls.c
|
|
src/host.c
|
|
src/html-url.c
|
|
src/http.c
|
|
src/init.c
|
|
src/iri.c
|
|
src/log.c
|
|
src/main.c
|
|
src/metalink.c
|
|
src/mswindows.c
|
|
src/netrc.c
|
|
src/openssl.c
|
|
src/progress.c
|
|
src/ptimer.c
|
|
src/recur.c
|
|
src/res.c
|
|
src/retr.c
|
|
src/spider.c
|
|
src/url.c
|
|
src/utils.c
|
|
src/warc.c
|