Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added defines (FLAG_HLINK_EOL, HL_CHECK_MASTER, and HL_SKIP) and changed
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
8493ed1
..
e3aa2e0
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-58,6
+58,11
@@
/* What flags above are relevant after the transfer of the flist? */
#define LIVE_FLAGS FLAG_DELETE
/* What flags above are relevant after the transfer of the flist? */
#define LIVE_FLAGS FLAG_DELETE
+/* These flist flags can be set after the flist is transferred. */
+
+/*#define FLAG_DELETE (1<<0) -- from the above list */
+#define FLAG_HLINK_EOL (1<<1)
+
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 28
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 28
@@
-383,8
+388,11
@@
enum msgcode {
#define GID_NONE (gid_t) -1
#define GID_NONE (gid_t) -1
+#define HL_CHECK_MASTER 0
+#define HL_SKIP 1
+
struct hlink {
struct hlink {
-
struct file_struct *head
;
+
int hlindex
;
struct file_struct *next;
};
struct file_struct *next;
};
@@
-396,7
+404,7
@@
struct idev {
#define F_DEV link_u.idev->dev
#define F_INODE link_u.idev->inode
#define F_DEV link_u.idev->dev
#define F_INODE link_u.idev->inode
-#define F_H
EAD link_u.links->head
+#define F_H
LINDEX link_u.links->hlindex
#define F_NEXT link_u.links->next
struct file_struct {
#define F_NEXT link_u.links->next
struct file_struct {