Browse Source

(set_mtime_option,mtime_option): New globals

Sergey Poznyakoff 19 years ago
parent
commit
ceaef10443
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/common.h

+ 5 - 0
src/common.h

@@ -197,6 +197,11 @@ GLOBAL bool multi_volume_option;
    do not get archived (also see after_date_option above).  */
 GLOBAL struct timespec newer_mtime_option;
 
+/* If true, override actual mtime (see below) */
+GLOBAL bool set_mtime_option;
+/* Value to be put in mtime header field instead of the actual mtime */
+GLOBAL struct timespec mtime_option;
+
 /* Return true if newer_mtime_option is initialized.  */
 #define NEWER_OPTION_INITIALIZED(opt) (0 <= (opt).tv_nsec)