X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/562b61695ebbc7be90233acb4a589b08f77cff33..96d910c770b9443e204e183d3f3a8720c346a79c:/rsync.h diff --git a/rsync.h b/rsync.h index b5308423..79bd0ae9 100644 --- a/rsync.h +++ b/rsync.h @@ -90,7 +90,8 @@ #define SPARSE_WRITE_SIZE (1024) #define WRITE_SIZE (32*1024) #define CHUNK_SIZE (32*1024) -#define MAX_MAP_SIZE (256*1024) +#define MAX_MAP_SIZE (512*1024) +#define MAX_BLOCK_SIZE (256*1024) #define IO_BUFFER_SIZE (4092) #define IOERR_GENERAL (1<<0) /* For backward compatibility, this must == 1 */ @@ -115,6 +116,9 @@ #define FULL_FLUSH 1 #define NORMAL_FLUSH 0 +#define PDIR_CREATE 1 +#define PDIR_DELETE 0 + /* Log-message categories. FLOG is only used on the daemon side to * output messages to the log file. */ @@ -312,7 +316,7 @@ enum msgcode { #else /* As long as it gets... */ #define int64 off_t -#define NO_INT64 +#define INT64_IS_OFF_T #endif #if (SIZEOF_LONG == 8)