From 63d0331991702d3570078551acf266f0e405faa4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 14 Apr 2004 23:33:37 +0000 Subject: [PATCH] Added a "next" pointer to "exclude_struct" and added a new structure for exclude lists, exclude_list_struct, that holds the head/tail pointers for the list. --- rsync.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rsync.h b/rsync.h index 973840a8..67cc4c16 100644 --- 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; -- 2.34.1