summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-04-14 23:33:37 +0000
committerWayne Davison <wayned@samba.org>2004-04-14 23:33:37 +0000
commit63d0331991702d3570078551acf266f0e405faa4 (patch)
tree47b5287f891bc8b01e887942fb293ed1c6ae4490 /rsync.h
parentbf6dcd17133e4e29e09420e3252a4184be3b04b6 (diff)
downloadrsync-63d0331991702d3570078551acf266f0e405faa4.tar.gz
rsync-63d0331991702d3570078551acf266f0e405faa4.tar.bz2
rsync-63d0331991702d3570078551acf266f0e405faa4.zip
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.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h6
1 files changed, 6 insertions, 0 deletions
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;