--- libaitsync/inc/defs.h 2012/11/13 13:53:14 1.3.2.3 +++ libaitsync/inc/defs.h 2014/02/04 16:39:00 1.5.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.3.2.3 2012/11/13 13:53:14 misho Exp $ +* $Id: defs.h,v 1.5.2.1 2014/02/04 16:39:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -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 @@ -86,7 +90,7 @@ struct tagPiece { }; -inline void sync_SetErr(int eno, char *estr, ...); +void sync_SetErr(int eno, char *estr, ...);