X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=4460c6c60887594325cfc74dedcd4d8793e2d2b3;hp=0da793798daf1369b7c55da7c83edb94450ed062;hb=42c78fdd71c311cf96210b709ec0a18ef45ef87f;hpb=f5a10978710a3e9907fbef31b7df9f414acccb16 diff --git a/src/options.h b/src/options.h index 0da79379..4460c6c6 100644 --- a/src/options.h +++ b/src/options.h @@ -166,7 +166,7 @@ struct options bool timestamping; /* Whether to use time-stamping. */ bool backup_converted; /* Do we save pre-converted files as *.orig? */ - bool backups; /* Are numeric backups made? */ + int backups; /* Are numeric backups made? */ char *useragent; /* User-Agent string, which can be set to something other than Wget. */ @@ -215,9 +215,9 @@ struct options char *ca_directory; /* CA directory (hash files) */ char *ca_cert; /* CA certificate file to use */ - 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 */ #endif /* HAVE_SSL */ bool cookies; /* whether cookies are used. */ @@ -228,6 +228,9 @@ struct options char *post_data; /* POST query string */ char *post_file_name; /* File to post */ + char *method; /* HTTP Method to use in Header */ + char *body_data; /* HTTP Method Data String */ + char *body_file; /* HTTP Method File */ enum { restrict_unix, @@ -279,7 +282,7 @@ struct options bool show_all_dns_entries; /* Show all the DNS entries when resolving a name. */ - bool bits_fmt; /*Output bandwidth in bits format*/ + bool report_bps; /*Output bandwidth in bits format*/ }; extern struct options opt;