X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Foptions.h;h=a11de0e4e88fdc892a7606f562f848ab33665547;hb=29cdc8da201865264b8344b68517e1cc405628fc;hp=1036c6f2cd28fba6358c75e4cc15dc3e785d9a90;hpb=5d8cfbd9044f91d277027d8c1aab3c47e118b407;p=wget diff --git a/src/options.h b/src/options.h index 1036c6f2..a11de0e4 100644 --- a/src/options.h +++ b/src/options.h @@ -64,6 +64,9 @@ struct options char **domains; /* See host.c */ char **exclude_domains; + char **follow_tags; /* List of HTML tags to recursively follow. */ + char **ignore_tags; /* List of HTML tags to ignore if recursing. */ + int follow_ftp; /* Are FTP URL-s followed in recursive retrieving? */ int retr_symlinks; /* Whether we retrieve symlinks in @@ -101,7 +104,7 @@ struct options long quota; /* Maximum number of bytes to retrieve. */ - long downloaded; /* How much we downloaded already. */ + VERY_LONG_TYPE downloaded; /* How much we downloaded already. */ int numurls; /* Number of successfully downloaded URLs */ @@ -138,6 +141,13 @@ struct options int delete_after; /* Whether the files will be deleted after download. */ + + int html_extension; /* Use ".html" extension on all text/html? */ + + int page_requisites; /* Whether we need to download all files + necessary to display a page properly. */ + + struct sockaddr_in *bind_address; /* What local IP address to bind to. */ }; #ifndef OPTIONS_DEFINED_HERE