浏览代码

(set_mtime_option,mtime_option): New globals

Sergey Poznyakoff 19 年之前
父节点
当前提交
ceaef10443
共有 1 个文件被更改,包括 5 次插入0 次删除
  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)