Added comment about the position of file_list's "flags" var.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index a019718..1d915c7 100644 (file)
--- a/rsync.h
+++ b/rsync.h
 #define FULL_FLUSH     1
 #define NORMAL_FLUSH   0
 
+#define CLEAR_STRUCT   0
+#define FREE_STRUCT    1
+
 /* Log-message categories.  FLOG is only used on the daemon side to
  * output messages to the log file. */
 enum logcode { FERROR=1, FINFO=2, FLOG=3 };
@@ -422,7 +425,7 @@ struct file_struct {
        char *basedir;
        uid_t uid;
        gid_t gid;
-       uchar flags;
+       uchar flags;    /* this item MUST remain last */
 };
 
 #define ARENA_SIZE     (32 * 1024)