Added a "next" pointer to "exclude_struct" and added a new structure
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 973840a..67cc4c1 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -493,6 +493,7 @@ struct map_struct {
 #define MATCHFLG_WILD2_PREFIX  (1<<2) /* pattern starts with '**' */
 #define MATCHFLG_ABS_PATH      (1<<3) /* path-match on absolute path */
 struct exclude_struct {
+       struct exclude_struct *next;
        char *pattern;
        int match_flags;
        int include;
@@ -500,6 +501,11 @@ struct exclude_struct {
        int slash_cnt;
 };
 
+struct exclude_list_struct {
+       struct exclude_struct *head;
+       struct exclude_struct *tail;
+};
+
 struct stats {
        int64 total_size;
        int64 total_transferred_size;