X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/af107f6c08d011ea6810de9a1e087b6ecf918ad6..3e550303722ab2c8aa2b7b03aa36de5700bce6a0:/rsync.h diff --git a/rsync.h b/rsync.h index e9dc490f..67cc4c16 100644 --- a/rsync.h +++ b/rsync.h @@ -104,11 +104,10 @@ #define SERVER_EXCLUDES 1 #define ALL_EXCLUDES 2 -#define MISSING_OK 0 -#define MISSING_FATAL 1 - -#define ADD_INCLUDE 1 -#define ADD_EXCLUDE 0 +#define XFLG_FATAL_ERRORS (1<<0) +#define XFLG_DEF_INCLUDE (1<<1) +#define XFLG_NO_PREFIXES (1<<2) +#define XFLG_WORD_SPLIT (1<<3) #define FULL_FLUSH 1 #define NORMAL_FLUSH 0 @@ -494,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; @@ -501,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;