X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Foptions.h;h=0a10c9b396b6ae4491c572a2308eca350b1b3603;hb=c52bbad9e4bad1393a9d6ba37e600d388f5ab419;hp=0da793798daf1369b7c55da7c83edb94450ed062;hpb=f5a10978710a3e9907fbef31b7df9f414acccb16;p=wget diff --git a/src/options.h b/src/options.h index 0da79379..0a10c9b3 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. */ @@ -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;