--- libaitsync/inc/defs.h 2012/11/13 10:30:43 1.3.2.2 +++ libaitsync/inc/defs.h 2012/11/13 14:19:39 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.3.2.2 2012/11/13 10:30:43 misho Exp $ +* $Id: defs.h,v 1.4 2012/11/13 14:19:39 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -51,6 +51,10 @@ SUCH DAMAGE. #define STRSIZ 256 #endif +#define DIFF_D0 '=' +#define DIFF_D1 '-' +#define DIFF_D2 '+' + #define CHUNK_MAX 4096 #define DLTSYNC_MAGIC 0xDEBAC0DA #define SIGSYNC_MAGIC 0xDEADBEEF @@ -72,15 +76,6 @@ typedef struct tagSyncChunk { 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 {