]> sjero.net Git - wget/blobdiff - src/options.h
Add support for WARC files.
[wget] / src / options.h
index 5e7c1eb6222cce9c418e3c7b01433ad261b9da00..0be66814209254c403ad834c601abec1b85c9181 100644 (file)
@@ -87,6 +87,15 @@ struct options
                                   FTP. */
   char *output_document;       /* The output file to which the
                                   documents will be printed.  */
+  char *warc_filename;         /* WARC output filename */
+  char *warc_tempdir;  /* WARC temp dir */
+  char *warc_cdx_dedup_filename;       /* CDX file to be used for deduplication. */
+  wgint warc_maxsize;           /* WARC max archive size */
+  bool warc_compression_enabled;  /* For GZIP compression. */
+  bool warc_digests_enabled;  /* For SHA1 digests. */
+  bool warc_cdx_enabled;      /* Create CDX files? */
+  bool warc_keep_log;         /* Store the log file in a WARC record. */
+  char **warc_user_headers;            /* User-defined WARC header(s). */
 
   char *user;                  /* Generic username */
   char *passwd;                        /* Generic password */