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
Get section reference right. Fixes bug #6573.
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
baf2f02
..
4a15c24
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-819,12
+819,9
@@
struct map_struct {
#define FILTRULE_CLEAR_LIST (1<<18)/* this item is the "!" token */
#define FILTRULE_PERISHABLE (1<<19)/* perishable if parent dir goes away */
#define FILTRULE_CLEAR_LIST (1<<18)/* this item is the "!" token */
#define FILTRULE_PERISHABLE (1<<19)/* perishable if parent dir goes away */
-#define FILTRULES_FROM_CONTAINER (FILTRULE_ABS_PATH | FILTRULE_INCLUDE \
- | FILTRULE_DIRECTORY | FILTRULE_SENDER_SIDE \
- | FILTRULE_NEGATE | FILTRULE_RECEIVER_SIDE \
- | FILTRULE_PERISHABLE)
+#define FILTRULES_SIDES (FILTRULE_SENDER_SIDE | FILTRULE_RECEIVER_SIDE)
-struct filter_struct {
+
typedef
struct filter_struct {
struct filter_struct *next;
char *pattern;
uint32 rflags;
struct filter_struct *next;
char *pattern;
uint32 rflags;
@@
-832,14
+829,14
@@
struct filter_struct {
int slash_cnt;
struct filter_list_struct *mergelist;
} u;
int slash_cnt;
struct filter_list_struct *mergelist;
} u;
-};
+}
filter_rule
;
-struct filter_list_struct {
-
struct filter_struct
*head;
-
struct filter_struct
*tail;
-
struct filter_struct
*parent_dirscan_head;
+
typedef
struct filter_list_struct {
+
filter_rule
*head;
+
filter_rule
*tail;
+
filter_rule
*parent_dirscan_head;
char *debug_type;
char *debug_type;
-};
+}
filter_rule_list
;
struct stats {
int64 total_size;
struct stats {
int64 total_size;