|
|
| version 1.2.2.1, 2012/07/22 22:09:18 | version 1.3.2.1, 2012/11/13 10:00:30 |
|---|---|
| Line 51 SUCH DAMAGE. | Line 51 SUCH DAMAGE. |
| #define STRSIZ 256 | #define STRSIZ 256 |
| #endif | #endif |
| #define CHUNK_MAX 2048 | |
| #define DLTSYNC_MAGIC 0xD34DC0D3 | |
| #define SIGSYNC_MAGIC 0xDEADBEEF | |
| #define TABLESIZ (1 << 16) | #define TABLESIZ (1 << 16) |
| #define NULL_TAG (-1) | #define NULL_TAG (-1) |
| Line 58 SUCH DAMAGE. | Line 62 SUCH DAMAGE. |
| #define GETTAG(sum) GETTAG2((sum) & 0xFFFF, (sum) >> 16) | #define GETTAG(sum) GETTAG2((sum) & 0xFFFF, (sum) >> 16) |
| #define SETERR syncSetErr(errno, strerror(errno)); | #define SETERR syncSetErr(errno, strerror(errno)); |
| typedef struct tagSyncChunk { | |
| u_int sc_magic; | |
| u_long sc_id; | |
| off_t sc_off; | |
| size_t sc_len; | |
| u_int sc_roll; | |
| u_char sc_cksum[MD5_DIGEST_LENGTH]; | |
| } 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 { |