X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9..67347196b13941fdf455517855481875ccf21152:/rsync.h diff --git a/rsync.h b/rsync.h index aca08177..a600152d 100644 --- a/rsync.h +++ b/rsync.h @@ -198,6 +198,9 @@ #define SP_DEFAULT 0 #define SP_KEEP_DOT_DIRS (1<<0) +#define CD_NORMAL 0 +#define CD_SKIP_CHDIR 1 + /* Log-message categories. FLOG only goes to the log file, not the client; * FCLIENT is the opposite. */ enum logcode { @@ -494,10 +497,12 @@ typedef unsigned int size_t; #if SIZEOF_OFF_T == 8 || !SIZEOF_OFF64_T || !defined HAVE_STRUCT_STAT64 #define OFF_T off_t #define STRUCT_STAT struct stat +#define SIZEOF_CAPITAL_OFF_T SIZEOF_OFF_T #else #define OFF_T off64_t #define STRUCT_STAT struct stat64 #define USE_STAT64_FUNCS 1 +#define SIZEOF_CAPITAL_OFF_T SIZEOF_OFF64_T #endif /* CAVEAT: on some systems, int64 will really be a 32-bit integer IFF