X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54..332cf6df7c32dbaa47cbfe515121da7bd53974e8:/rsync.h diff --git a/rsync.h b/rsync.h index 53989bd9..8bcc134f 100644 --- a/rsync.h +++ b/rsync.h @@ -362,6 +362,15 @@ enum msgcode { # include #endif +#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H +#include +#ifndef ICONV_CONST +#define ICONV_CONST +#endif +#elif defined ICONV_CONST +#undef ICONV_CONST +#endif + #include #include "lib/pool_alloc.h" @@ -599,7 +608,7 @@ extern int preserve_xattrs; #define F_SYMLINK(f) ((f)->basename + strlen((f)->basename) + 1) /* The sending side always has this available: */ -#define F_ROOTDIR(f) (*(const char**)REQ_EXTRA(f, PTR_EXTRA_LEN)) +#define F_PATHNAME(f) (*(const char**)REQ_EXTRA(f, PTR_EXTRA_LEN)) /* The receiving side always has this available: */ #define F_DEPTH(f) REQ_EXTRA(f, 1)->num @@ -609,6 +618,7 @@ extern int preserve_xattrs; #define F_GROUP(f) REQ_EXTRA(f, preserve_gid)->unum #define F_ACL(f) REQ_EXTRA(f, preserve_acls)->num #define F_XATTR(f) REQ_EXTRA(f, preserve_xattrs)->num +#define F_NDX(f) REQ_EXTRA(f, ic_ndx)->num /* These items are per-entry optional and mutally exclusive: */ #define F_HL_GNUM(f) OPT_EXTRA(f, LEN64_BUMP(f))->num @@ -665,7 +675,7 @@ extern int preserve_xattrs; struct file_list { struct file_list *next, *prev; - struct file_struct **files; + struct file_struct **files, **sorted; alloc_pool_t file_pool; int count, malloced; int low, high; /* 0-relative index values excluding empties */