Mention the chmod utility's manpage number.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 1766394..2939e07 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 /* These flags are used in the live flist data. */
 
 #define FLAG_TOP_DIR (1<<0)
+#define FLAG_SENT (1<<1)       /* sender */
 #define FLAG_HLINK_EOL (1<<1)  /* receiver/generator */
-#define FLAG_MOUNT_POINT (1<<2)        /* sender */
-#define FLAG_NO_FUZZY (1<<2)   /* generator */
+#define FLAG_MOUNT_POINT (1<<2)        /* sender/generator */
 #define FLAG_DEL_HERE (1<<3)   /* receiver/generator */
-#define FLAG_SENT (1<<3)       /* sender */
 #define FLAG_HLINK_TOL (1<<4)  /* receiver/generator */
+#define FLAG_NO_FUZZY (1<<5)   /* generator */
 
 /* update this if you make incompatible changes */
 #define PROTOCOL_VERSION 29
 #define XFLG_ANCHORED2ABS      (1<<2)
 #define XFLG_ABS_IF_SLASH      (1<<3)
 
-#define PERMS_REPORT           (1<<0)
-#define PERMS_SKIP_MTIME       (1<<1)
+#define ATTRS_REPORT           (1<<0)
+#define ATTRS_SKIP_MTIME       (1<<1)
 
 #define FULL_FLUSH     1
 #define NORMAL_FLUSH   0
@@ -640,6 +640,7 @@ struct stats {
        int current_file_index;
 };
 
+struct chmod_mode_struct;
 
 #include "byteorder.h"
 #include "lib/mdfour.h"
@@ -787,7 +788,8 @@ extern int errno;
 #define INADDR_NONE 0xffffffff
 #endif
 
-#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode))
+#define IS_SPECIAL(mode) (S_ISSOCK(mode) || S_ISFIFO(mode))
+#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode))
 
 /* Initial mask on permissions given to temporary files.  Mask off setuid
      bits and group access because of potential race-condition security
@@ -871,5 +873,3 @@ const char *get_panic_action(void);
 #endif
 
 #define UNUSED(x) x __attribute__((__unused__))
-
-extern const char *io_write_phase, *io_read_phase;