X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a08979d564dbb320a4000b709e8229d6fca7a281..65a22a5ff70d95bbcb04f8c1dcae3eb1ca784282:/rsync.h diff --git a/rsync.h b/rsync.h index 82c81335..4e7a2f44 100644 --- a/rsync.h +++ b/rsync.h @@ -5,8 +5,9 @@ * Copyright (C) 2003-2007 Wayne Davison * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -48,13 +49,14 @@ #define XMIT_SAME_NAME (1<<5) #define XMIT_LONG_NAME (1<<6) #define XMIT_SAME_TIME (1<<7) -#define XMIT_SAME_RDEV_MAJOR (1<<8) /* protocols 28 - NOW */ +#define XMIT_SAME_RDEV_MAJOR (1<<8) /* protocols 28 - NOW (devices only) */ +#define XMIT_NON_XFER_DIR (1<<8) /* protocols 30 - NOW (dirs only) */ #define XMIT_HLINKED (1<<9) /* protocols 28 - NOW */ #define XMIT_SAME_DEV_pre30 (1<<10) /* protocols 28 - 29 */ #define XMIT_USER_NAME_FOLLOWS (1<<10) /* protocols 30 - NOW */ #define XMIT_RDEV_MINOR_8_pre30 (1<<11) /* protocols 28 - 29 */ #define XMIT_GROUP_NAME_FOLLOWS (1<<11) /* protocols 30 - NOW */ -#define XMIT_HLINK_FIRST (1<<12) /* protocols 30 - NOW */ +#define XMIT_HLINK_FIRST (1<<12) /* protocols 30 - NOW (HLINKED files only) */ /* These flags are used in the live flist data. */ @@ -87,7 +89,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 4 +#define SUBPROTOCOL_VERSION 5 /* 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