diff options
Diffstat (limited to 'lib/syserr.h')
-rw-r--r-- | lib/syserr.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/syserr.h b/lib/syserr.h new file mode 100644 index 0000000..a1ccb2d --- /dev/null +++ b/lib/syserr.h @@ -0,0 +1,21 @@ +/* + * Syslog functions. + * Copyright (C) 2003, 2004 Mondru AB. + * + * The contents of this file may be used under the terms of the GNU + * General Public License Version 2, provided that the above copyright + * notice and this permission notice is included in all copies or + * substantial portions of the software. + * + */ + +#ifndef _SYSERR_H +#define _SYSERR_H + +#define SYSERR_MSGSIZE 256 + +void sys_err(int pri, char *filename, int en, int line, char *fmt, ...); +void sys_errpack(int pri, char *fn, int ln, int en, struct sockaddr_in *peer, + void *pack, unsigned len, char *fmt, ...); + +#endif /* !_SYSERR_H */ |