Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1bca1de
)
Added new IOERR_* defines.
author
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 08:07:38 +0000
(08:07 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 15 Dec 2003 08:07:38 +0000
(08:07 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
3a39f15
..
b1adc0c
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-81,6
+81,9
@@
#define MAX_MAP_SIZE (256*1024)
#define IO_BUFFER_SIZE (4092)
#define MAX_MAP_SIZE (256*1024)
#define IO_BUFFER_SIZE (4092)
+#define IOERR_GENERAL (1<<0) /* For backward compatibility, this must == 1 */
+#define IOERR_VANISHED (1<<1)
+
#define MAX_ARGS 1000
#define MPLEX_BASE 7
#define MAX_ARGS 1000
#define MPLEX_BASE 7
@@
-429,10
+432,10
@@
struct map_struct {
OFF_T p_fd_offset; /* offset of cursor in fd ala lseek */
};
OFF_T p_fd_offset; /* offset of cursor in fd ala lseek */
};
-#define MATCHFLG_WILD
0x0001
/* pattern has '*', '[', and/or '?' */
-#define MATCHFLG_WILD2
0x0002
/* pattern has '**' */
-#define MATCHFLG_WILD2_PREFIX
0x0004
/* pattern starts with '**' */
-#define MATCHFLG_ABS_PATH
0x0008
/* path-match on absolute path */
+#define MATCHFLG_WILD
(1<<0)
/* pattern has '*', '[', and/or '?' */
+#define MATCHFLG_WILD2
(1<<1)
/* pattern has '**' */
+#define MATCHFLG_WILD2_PREFIX
(1<<2)
/* pattern starts with '**' */
+#define MATCHFLG_ABS_PATH
(1<<3)
/* path-match on absolute path */
struct exclude_struct {
char *pattern;
int match_flags;
struct exclude_struct {
char *pattern;
int match_flags;