]> sjero.net Git - wget/blobdiff - src/options.h
Gisle's MS-DOS support
[wget] / src / options.h
index 0267e37668c0e08c89274f67888c53e056da2677..5fc49e2a69b2438bbede7bb78cfc89ebab9f1039 100644 (file)
@@ -36,8 +36,10 @@ struct options
   bool background;             /* Whether we should work in background. */
   bool ignore_length;          /* Do we heed content-length at all?  */
   bool recursive;              /* Are we recursive? */
-  bool spanhost;                       /* Do we span across hosts in
+  bool spanhost;               /* Do we span across hosts in
                                   recursion? */
+  int  max_redirect;            /* Maximum number of times we'll allow
+                                   a page to redirect. */
   bool relative_only;          /* Follow only relative links. */
   bool no_parent;              /* Restrict access to the parent
                                   directory.  */
@@ -129,6 +131,10 @@ struct options
   bool debug;                  /* Debugging on/off */
 #endif
 
+#ifdef MSDOS
+  bool wdebug;                  /* Watt-32 tcp/ip debugging on/off */
+#endif
+
   bool timestamping;           /* Whether to use time-stamping. */
 
   bool backup_converted;       /* Do we save pre-converted files as *.orig? */