X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=9358e3023a5a9893b55a7f9a62346258bcdf383b;hp=4460c6c60887594325cfc74dedcd4d8793e2d2b3;hb=38a7829dcb4eb5dba28dbf0f05c6a80fea9217f8;hpb=42c78fdd71c311cf96210b709ec0a18ef45ef87f diff --git a/src/options.h b/src/options.h index 4460c6c6..9358e302 100644 --- a/src/options.h +++ b/src/options.h @@ -60,6 +60,7 @@ struct options char *lfilename; /* Log filename */ char *input_filename; /* Input filename */ char *choose_config; /* Specified config file */ + bool noconfig; bool force_html; /* Is the input file an HTML file? */ char *default_page; /* Alternative default page (index file) */ @@ -68,8 +69,8 @@ struct options char **accepts; /* List of patterns to accept. */ char **rejects; /* List of patterns to reject. */ - char **excludes; /* List of excluded FTP directories. */ - char **includes; /* List of FTP directories to + const char **excludes; /* List of excluded FTP directories. */ + const char **includes; /* List of FTP directories to follow. */ bool ignore_case; /* Whether to ignore case when matching dirs and files */ @@ -115,6 +116,7 @@ struct options bool ask_passwd; /* Ask for password? */ bool always_rest; /* Always use REST. */ + wgint start_pos; /* Start position of a download. */ char *ftp_user; /* FTP username */ char *ftp_passwd; /* FTP password */ bool netrc; /* Whether to read .netrc. */ @@ -132,6 +134,7 @@ struct options char **no_proxy; char *base_href; char *progress_type; /* progress indicator type. */ + bool show_progress; /* Show only the progress bar */ char *proxy_user; /*oli*/ char *proxy_passwd; @@ -155,9 +158,7 @@ struct options bool content_on_error; /* Do we output the content when the HTTP status code indicates a server error */ -#ifdef ENABLE_DEBUG bool debug; /* Debugging on/off */ -#endif #ifdef USE_WATT32 bool wdebug; /* Watt-32 tcp/ip debugging on/off */ @@ -200,7 +201,8 @@ struct options secure_protocol_auto, secure_protocol_sslv2, secure_protocol_sslv3, - secure_protocol_tlsv1 + secure_protocol_tlsv1, + secure_protocol_pfs } secure_protocol; /* type of secure protocol to use. */ bool check_cert; /* whether to validate the server's cert */ char *cert_file; /* external client certificate to use. */