version 1.3.2.1, 2012/11/13 10:00:30
|
version 1.3.2.4, 2012/11/13 13:58:39
|
Line 51 SUCH DAMAGE.
|
Line 51 SUCH DAMAGE.
|
#define STRSIZ 256 |
#define STRSIZ 256 |
#endif |
#endif |
|
|
#define CHUNK_MAX 2048 | #define DIFF_D0 '=' |
#define DLTSYNC_MAGIC 0xD34DC0D3 | #define DIFF_D1 '-' |
| #define DIFF_D2 '+' |
| |
| #define CHUNK_MAX 4096 |
| #define DLTSYNC_MAGIC 0xDEBAC0DA |
#define SIGSYNC_MAGIC 0xDEADBEEF |
#define SIGSYNC_MAGIC 0xDEADBEEF |
|
|
#define TABLESIZ (1 << 16) |
#define TABLESIZ (1 << 16) |
Line 61 SUCH DAMAGE.
|
Line 65 SUCH DAMAGE.
|
#define GETTAG2(s1, s2) (((s1) + (s2)) & 0xFFFF) |
#define GETTAG2(s1, s2) (((s1) + (s2)) & 0xFFFF) |
#define GETTAG(sum) GETTAG2((sum) & 0xFFFF, (sum) >> 16) |
#define GETTAG(sum) GETTAG2((sum) & 0xFFFF, (sum) >> 16) |
|
|
#define SETERR syncSetErr(errno, strerror(errno)); | #define LOGERR sync_SetErr(errno, strerror(errno)) |
|
|
|
|
typedef struct tagSyncChunk { |
typedef struct tagSyncChunk { |
Line 74 typedef struct tagSyncChunk {
|
Line 78 typedef struct tagSyncChunk {
|
} sync_chunk_t; |
} sync_chunk_t; |
|
|
|
|
struct tagDirName { |
|
u_char ch; |
|
u_short tag; |
|
u_int hash; |
|
char name[MAXPATHLEN]; |
|
char extra[STRSIZ]; |
|
}; |
|
|
|
|
|
typedef struct tagSyncTag { |
typedef struct tagSyncTag { |
u_long st_id; |
u_long st_id; |
u_short st_tag; |
u_short st_tag; |
Line 95 struct tagPiece {
|
Line 90 struct tagPiece {
|
}; |
}; |
|
|
|
|
inline void syncSetErr(int eno, char *estr, ...); | inline void sync_SetErr(int eno, char *estr, ...); |
|
|
|
|
|
|