jjako | a760e32 | 2003-04-11 09:43:22 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Syslog functions. |
| 3 | * Copyright (C) 2003 Mondru AB. |
| 4 | * |
| 5 | * The contents of this file may be used under the terms of the GNU |
| 6 | * General Public License Version 2, provided that the above copyright |
| 7 | * notice and this permission notice is included in all copies or |
| 8 | * substantial portions of the software. |
| 9 | * |
jjako | a760e32 | 2003-04-11 09:43:22 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef _SYSERR_H |
| 13 | #define _SYSERR_H |
| 14 | |
| 15 | #define SYSERR_MSGSIZE 256 |
| 16 | |
| 17 | void sys_err(int pri, char *filename, int en, int line, char *fmt, ...); |
| 18 | void sys_errpack(int pri, char *fn, int ln, int en, struct sockaddr_in *peer, |
| 19 | void *pack, unsigned len, char *fmt, ...); |
| 20 | |
| 21 | #endif /* !_SYSERR_H */ |