blob: e3ebdf06e25d170418659fc1648ae16f03be23e2 [file] [log] [blame]
jjakoa760e322003-04-11 09:43:22 +00001/*
2 * Syslog functions.
jjakobd937b72004-12-30 16:22:42 +00003 * Copyright (C) 2003, 2004 Mondru AB.
jjakoa760e322003-04-11 09:43:22 +00004 *
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 *
jjakoa760e322003-04-11 09:43:22 +000010 */
11
12#ifndef _SYSERR_H
13#define _SYSERR_H
14
15#define SYSERR_MSGSIZE 256
16
17void sys_err(int pri, char *filename, int en, int line, char *fmt, ...);
18void sys_errpack(int pri, char *fn, int ln, int en, struct sockaddr_in *peer,
19 void *pack, unsigned len, char *fmt, ...);
20
Harald Weltebed35df2011-11-02 13:06:18 +010021#endif /* !_SYSERR_H */