--- libaitio/inc/defs.h 2013/03/13 14:54:39 1.9 +++ libaitio/inc/defs.h 2014/02/05 02:24:27 1.12.26.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.9 2013/03/13 14:54:39 misho Exp $ +* $Id: defs.h,v 1.12.26.1 2014/02/05 02:24:27 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, 2013 +Copyright 2004 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -55,8 +55,14 @@ SUCH DAMAGE. #define SESS_AIT_MAGIC 0x3CC3 #define SESS_MEM_MODE 0640 -#define SESS_MEM_DELIM "\xFF" +#define SESS_MEM_DELIM "\n" +#define SESS_MAX_ATTRIBUTE 64 + +#define SEMNAME_MAX 14 + +#define BPF_DEV_MAX 10 + #define LOGERR { \ io_Errno = errno; \ strlcpy(io_Error, strerror(errno), STRSIZ); \ @@ -97,7 +103,7 @@ typedef struct _tagSessHdr { extern int io_Errno; extern char io_Error[STRSIZ]; -inline void io_SetErr(int eno, char *estr, ...); +void io_SetErr(int eno, char *estr, ...); #endif