don't show basedir in printed path (a aesthetic change only)
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 2ee5e03..9c0e24c 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -39,7 +39,7 @@
 #define SAME_TIME (1<<7)
 
 /* update this if you make incompatible changes */
-#define PROTOCOL_VERSION 15
+#define PROTOCOL_VERSION 16
 #define MIN_PROTOCOL_VERSION 11
 #define MAX_PROTOCOL_VERSION 20
 
@@ -223,7 +223,7 @@ struct file_struct {
        char *dirname;
        char *basedir;
        char *link;
-       char sum[MD4_SUM_LENGTH];
+       char *sum;
 };
 
 struct file_list {
@@ -249,8 +249,9 @@ struct sum_struct {
 };
 
 struct map_struct {
-  char *map,*p;
-  int fd,size,p_size,p_offset,p_len;
+       char *map,*p;
+       int fd,p_size,p_len;
+       off_t size, p_offset;
 };
 
 /* we need this function because of the silly way in which duplicate