diff options
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/options.h b/src/options.h index ffb04a9..dad08c1 100644 --- a/src/options.h +++ b/src/options.h @@ -1,7 +1,7 @@ /* struct options. Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, - Inc. + 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2015 Free Software + Foundation, Inc. This file is part of GNU Wget. @@ -58,6 +58,11 @@ struct options char *dir_prefix; /* The top of directory tree */ char *lfilename; /* Log filename */ char *input_filename; /* Input filename */ +#ifdef HAVE_METALINK + char *input_metalink; /* Input metalink file */ + bool metalink_over_http; /* Use Metalink if present in HTTP response */ + char *preferred_location; /* Preferred location for Metalink resources */ +#endif char *choose_config; /* Specified config file */ bool noconfig; /* Ignore all config files? */ bool force_html; /* Is the input file an HTML file? */ @@ -165,6 +170,7 @@ struct options #endif bool timestamping; /* Whether to use time-stamping. */ + bool if_modified_since; /* Whether to use conditional get requests. */ bool backup_converted; /* Do we save pre-converted files as *.orig? */ int backups; /* Are numeric backups made? */ @@ -176,6 +182,9 @@ struct options NULL. */ bool convert_links; /* Will the links be converted locally? */ + bool convert_file_only; /* Convert only the file portion of the URI (i.e. basename). + Leave everything else untouched. */ + bool remove_listing; /* Do we remove .listing files generated by FTP? */ bool htmlify; /* Do we HTML-ify the OS-dependent @@ -223,6 +232,10 @@ struct options char *random_file; /* file with random data to seed the PRNG */ char *egd_file; /* file name of the egd daemon socket */ bool https_only; /* whether to follow HTTPS only */ + bool ftps_resume_ssl; + bool ftps_fallback_to_ftp; + bool ftps_implicit; + bool ftps_clear_data_connection; #endif /* HAVE_SSL */ bool cookies; /* whether cookies are used. */ @@ -239,6 +252,7 @@ struct options enum { restrict_unix, + restrict_vms, restrict_windows } restrict_files_os; /* file name restriction ruleset. */ bool restrict_files_ctrl; /* non-zero if control chars in URLs @@ -288,6 +302,13 @@ struct options bool show_all_dns_entries; /* Show all the DNS entries when resolving a name. */ bool report_bps; /*Output bandwidth in bits format*/ + + char *rejected_log; /* The file to log rejected URLS to. */ + +#ifdef HAVE_HSTS + bool hsts; + char *hsts_file; +#endif }; extern struct options opt; |