]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] Implemented and documented new -E / --html-extension / html_extension option.
[wget] / src / wget.h
index ffcee1cae97d92462783077f8c10b33708f3a228..5dd71d21cde23a4ca4108a0dbd459ca63efe3cef 100644 (file)
@@ -202,14 +202,15 @@ extern const char *exec_name;
 #endif
 
 \f
-/* Document-type flags */
+/* Document type ("dt") flags */
 enum
 {
-  TEXTHTML      = 0x0001,      /* document is of type text/html */
-  RETROKF       = 0x0002,      /* retrieval was OK */
-  HEAD_ONLY     = 0x0004,      /* only send the HEAD request */
-  SEND_NOCACHE  = 0x0008,      /* send Pragma: no-cache directive */
-  ACCEPTRANGES  = 0x0010       /* Accept-ranges header was found */
+  TEXTHTML             = 0x0001,       /* document is of type text/html */
+  RETROKF              = 0x0002,       /* retrieval was OK */
+  HEAD_ONLY            = 0x0004,       /* only send the HEAD request */
+  SEND_NOCACHE         = 0x0008,       /* send Pragma: no-cache directive */
+  ACCEPTRANGES         = 0x0010,       /* Accept-ranges header was found */
+  ADDED_HTML_EXTENSION = 0x0020,        /* added ".html" extension due to -E */
 };
 
 /* Universal error type -- used almost everywhere.