From: Wayne Davison Date: Sun, 8 Jul 2007 06:25:36 +0000 (+0000) Subject: - Increased the SUBPROTOCOL_VERSION to 4 due to the new dir-ndx logic. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/24108eb854b1427018abb08a228788533254fdd2 - Increased the SUBPROTOCOL_VERSION to 4 due to the new dir-ndx logic. - Added ndx_end value to struct file_list. --- diff --git a/rsync.h b/rsync.h index 17afb690..12323590 100644 --- a/rsync.h +++ b/rsync.h @@ -87,7 +87,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 3 +#define SUBPROTOCOL_VERSION 4 /* 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 @@ -677,6 +677,7 @@ struct file_list { int used, malloced; int low, high; /* 0-relative index values excluding empties */ int ndx_start; /* the start offset for inc_recurse mode */ + int ndx_end; /* the end offset for inc_recurse mode */ int parent_ndx; /* dir_flist index of parent directory */ int in_progress, to_redo; };