X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c6679e04f8bfacc27a88be9927db5e79bbefc78b..69be312b5e335430e3e896e200def6a7c6f89c8d:/rsync.h diff --git a/rsync.h b/rsync.h index 3404da78..c0bfaa99 100644 --- a/rsync.h +++ b/rsync.h @@ -85,8 +85,12 @@ /* These flags are passed to functions but not stored. */ -#define FLAG_DIVERT_DIRS (1<<16)/* sender */ +#define FLAG_DIVERT_DIRS (1<<16) /* sender, but must be unique */ +/* These flags are for get_dirlist(). */ +#define GDL_IGNORE_FILTER_RULES (1<<0) + +/* Some helper macros for matching bits. */ #define BITS_SET(val,bits) (((val) & (bits)) == (bits)) #define BITS_SETnUNSET(val,onbits,offbits) (((val) & ((onbits)|(offbits))) == (onbits)) #define BITS_EQUAL(b1,b2,mask) (((unsigned)(b1) & (unsigned)(mask)) \ @@ -370,6 +374,14 @@ enum delret { #define CAN_SET_SYMLINK_TIMES 1 #endif +#if defined HAVE_LCHOWN || defined CHOWN_MODIFIES_SYMLINK +#define CAN_CHOWN_SYMLINK 1 +#endif + +#if defined HAVE_LCHMOD || defined HAVE_SETATTRLIST +#define CAN_CHMOD_SYMLINK 1 +#endif + #ifdef HAVE_SYS_SELECT_H #include #endif