X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=4460c6c60887594325cfc74dedcd4d8793e2d2b3;hp=44e0a703c0b55e60f2c447579f983512e5070510;hb=42c78fdd71c311cf96210b709ec0a18ef45ef87f;hpb=96418c68851d00fd66014d2dc7bd46b3d715e525 diff --git a/src/options.h b/src/options.h index 44e0a703..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,