X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fc0257c9fd26fd6efb1ac166b505f05794c155b0..fd73b94d312491fd3d9d3e38b820f8cb1c53f453:/rsync.h diff --git a/rsync.h b/rsync.h index 0dd3e654..41e65f9c 100644 --- a/rsync.h +++ b/rsync.h @@ -341,6 +341,8 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; /* the length of the md4 checksum */ #define MD4_SUM_LENGTH 16 #define SUM_LENGTH 16 +#define SHORT_SUM_LENGTH 2 +#define BLOCKSUM_BIAS 10 #ifndef MAXPATHLEN #define MAXPATHLEN 1024 @@ -419,13 +421,15 @@ struct map_struct { OFF_T file_size, p_offset, p_fd_offset; }; +#define MATCHFLG_WILD 0x0001 /* pattern has '*', '[', and/or '?' */ +#define MATCHFLG_WILD2 0x0002 /* pattern has '**' */ +#define MATCHFLG_WILD2_PREFIX 0x0004 /* pattern starts with '**' */ struct exclude_struct { char *pattern; - int regular_exp; - int fnmatch_flags; + int match_flags; int include; int directory; - int local; + int slash_cnt; }; struct stats {