Diff for /libaitsync/inc/defs.h between versions 1.2 and 1.3.2.1

version 1.2, 2011/05/09 14:36:33 version 1.3.2.1, 2012/11/13 10:00:30
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 47  SUCH DAMAGE. Line 47  SUCH DAMAGE.
 #define __DEFS_H  #define __DEFS_H
   
   
   #ifndef STRSIZ
 #define STRSIZ          256  #define STRSIZ          256
   #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 55  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 {

Removed from v.1.2  
changed lines
  Added in v.1.3.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>