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 more INTERNALS work.
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
b1adc0c
..
73ba1d9
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-24,6
+24,7
@@
#define BLOCK_SIZE 700
#define RSYNC_RSH_ENV "RSYNC_RSH"
#define BLOCK_SIZE 700
#define RSYNC_RSH_ENV "RSYNC_RSH"
+#define RSYNC_RSH_IO_ENV "RSYNC_RSH_IO"
#define RSYNC_NAME "rsync"
#define RSYNCD_SYSCONF "/etc/rsyncd.conf"
#define RSYNC_NAME "rsync"
#define RSYNCD_SYSCONF "/etc/rsyncd.conf"
@@
-107,9
+108,7
@@
enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
#include "config.h"
#include "config.h"
-/* The default RSYNC_RSH is always set in config.h, either to "remsh",
- * "rsh", or otherwise something specified by the user. HAVE_REMSH
- * controls parameter munging for HP/UX, etc. */
+/* The default RSYNC_RSH is always set in config.h. */
#include <sys/types.h>
#include <sys/types.h>
@@
-363,6
+362,8
@@
enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
#define IN_LOOPBACKNET 127
#endif
#define IN_LOOPBACKNET 127
#endif
+#define GID_NONE (gid_t) -1
+
struct file_struct {
unsigned flags;
time_t modtime;
struct file_struct {
unsigned flags;
time_t modtime;
@@
-403,7
+404,7
@@
struct file_list {
struct sum_buf {
OFF_T offset; /**< offset in file of this chunk */
struct sum_buf {
OFF_T offset; /**< offset in file of this chunk */
-
int len;
/**< length of chunk of file */
+
unsigned int len;
/**< length of chunk of file */
int i; /**< index of this chunk */
uint32 sum1; /**< simple checksum */
char sum2[SUM_LENGTH]; /**< checksum */
int i; /**< index of this chunk */
uint32 sum1; /**< simple checksum */
char sum2[SUM_LENGTH]; /**< checksum */
@@
-412,9
+413,9
@@
struct sum_buf {
struct sum_struct {
OFF_T flength; /**< total file length */
size_t count; /**< how many chunks */
struct sum_struct {
OFF_T flength; /**< total file length */
size_t count; /**< how many chunks */
-
size_t remainder; /**< flength %
block_length */
-
size_t blength; /**<
block_length */
-
size_t s2length;
/**< sum2_length */
+
unsigned int blength; /**<
block_length */
+
unsigned int remainder; /**< flength %
block_length */
+
int s2length;
/**< sum2_length */
struct sum_buf *sums; /**< points to info for each chunk */
};
struct sum_buf *sums; /**< points to info for each chunk */
};