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
Mention exclude improvements.
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
e9dc490
..
67cc4c1
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-104,11
+104,10
@@
#define SERVER_EXCLUDES 1
#define ALL_EXCLUDES 2
#define SERVER_EXCLUDES 1
#define ALL_EXCLUDES 2
-#define MISSING_OK 0
-#define MISSING_FATAL 1
-
-#define ADD_INCLUDE 1
-#define ADD_EXCLUDE 0
+#define XFLG_FATAL_ERRORS (1<<0)
+#define XFLG_DEF_INCLUDE (1<<1)
+#define XFLG_NO_PREFIXES (1<<2)
+#define XFLG_WORD_SPLIT (1<<3)
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0
@@
-494,6
+493,7
@@
struct map_struct {
#define MATCHFLG_WILD2_PREFIX (1<<2) /* pattern starts with '**' */
#define MATCHFLG_ABS_PATH (1<<3) /* path-match on absolute path */
struct exclude_struct {
#define MATCHFLG_WILD2_PREFIX (1<<2) /* pattern starts with '**' */
#define MATCHFLG_ABS_PATH (1<<3) /* path-match on absolute path */
struct exclude_struct {
+ struct exclude_struct *next;
char *pattern;
int match_flags;
int include;
char *pattern;
int match_flags;
int include;
@@
-501,6
+501,11
@@
struct exclude_struct {
int slash_cnt;
};
int slash_cnt;
};
+struct exclude_list_struct {
+ struct exclude_struct *head;
+ struct exclude_struct *tail;
+};
+
struct stats {
int64 total_size;
int64 total_transferred_size;
struct stats {
int64 total_size;
int64 total_transferred_size;