]> sjero.net Git - wget/blobdiff - src/options.h
Add --unlink.
[wget] / src / options.h
index 5488e2687d6d4ecf1f301f76f47005918b1fde02..e9fe2d2c0b6f7679e80629d71cb19f1bc62e882a 100644 (file)
@@ -1,6 +1,6 @@
 /* struct options.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -54,6 +54,7 @@ struct options
   bool protocol_directories;   /* Whether to prepend "http"/"ftp" to dirs. */
   bool noclobber;              /* Disables clobbering of existing
                                   data. */
+  bool unlink;                 /* remove file before clobbering */
   char *dir_prefix;            /* The top of directory tree */
   char *lfilename;             /* Log filename */
   char *input_filename;                /* Input filename */
@@ -242,11 +243,12 @@ struct options
   char *encoding_remote;
   char *locale;
 
+  bool trustservernames;
 #ifdef __VMS
   int ftp_stmlf;                /* Force Stream_LF format for binary FTP. */
 #endif /* def __VMS */
 
-  bool matchservertimestamps;  /* Update downloaded files' timestamps to
+  bool useservertimestamps;    /* Update downloaded files' timestamps to
                                   match those on server? */
 
 };