X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a71b436858ba82aa171bd4b9f7deccd69a7541b1..refs/heads/wip/copy-unsafe-links-double:/rsync.h diff --git a/rsync.h b/rsync.h index b0ac7a9f..a68c62f4 100644 --- a/rsync.h +++ b/rsync.h @@ -726,6 +726,14 @@ extern int xattrs_ndx; #define F_SUM(f) ((char*)OPT_EXTRA(f, START_BUMP(f) + HLINK_BUMP(f) \ + SUM_EXTRA_CNT - 1)) +/* Present on all sender dirs when --copy-unsafe-links is enabled. + * See explanation at make_file. */ +#define F_DIR_PHYS_DEPTH(f) OPT_EXTRA(f, START_BUMP(f))->unum + +/* "phys_depth" arg to pass to make_file when not applicable + * (e.g., receiving side) */ +#define PHYS_DEPTH_N_A 0 + /* Some utility defines: */ #define F_IS_ACTIVE(f) (f)->basename[0] #define F_IS_HLINKED(f) ((f)->flags & FLAG_HLINKED)