X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ff2001b91b6a0dc0f00486e85f90af122d0ad4f0..8b498b9f1aa9f6419bb633e68a1c21d19c04e381:/rsync.h diff --git a/rsync.h b/rsync.h index d0700f74..2401d8f9 100644 --- a/rsync.h +++ b/rsync.h @@ -88,7 +88,7 @@ /* This is used when working on a new protocol version in CVS, and should * be a new non-zero value for each CVS change that affects the protocol. * It must ALWAYS be 0 when the protocol goes final! */ -#define SUBPROTOCOL_VERSION 2 +#define SUBPROTOCOL_VERSION 3 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on @@ -565,8 +565,6 @@ struct idev_node { #define ACLS_NEED_MASK 1 #endif -#define GID_NONE ((gid_t)-1) - union file_extras { int32 num; uint32 unum; @@ -667,8 +665,8 @@ extern int preserve_xattrs; * (when they happen). Smaller sizes increase the chance of * freed allocations freeing whole extents. */ -#define FILE_EXTENT (256 * 1024) -#define HLINK_EXTENT (128 * 1024) +#define NORMAL_EXTENT (256 * 1024) +#define SMALL_EXTENT (128 * 1024) #define FLIST_TEMP (1<<1) @@ -676,6 +674,7 @@ struct file_list { struct file_list *next, *prev; struct file_struct **files, **sorted; alloc_pool_t file_pool; + void *pool_boundary; int count, malloced; int low, high; /* 0-relative index values excluding empties */ int ndx_start; /* the start offset for inc_recurse mode */