version 1.1.1.1, 2012/03/08 23:40:21
|
version 1.4, 2013/05/30 09:25:35
|
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, 2011, 2012 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
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 |
|
#ifndef CRLF |
#define CRLF "\r\n" |
#define CRLF "\r\n" |
|
#endif |
|
#ifndef LF |
|
#define LF "\n" |
|
#endif |
|
|
#define LOGERR { \ |
#define LOGERR { \ |
www_Errno = errno; \ |
www_Errno = errno; \ |
strlcpy(www_Error, strerror(errno), STRSIZ); \ | strlcpy(www_Error, strerror(errno), sizeof www_Error); \ |
} |
} |
|
|
|
|
extern int www_Errno; |
extern int www_Errno; |
extern char www_Error[]; | extern char www_Error[STRSIZ]; |
|
|
inline void www_SetErr(int eno, char *estr, ...); | void www_SetErr(int eno, char *estr, ...); |
|
|
|
|
#endif |
#endif |