blob: a65dfc3a56b10e03dff5ba711e618c1a74f12e5f [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
Holger Hans Peter Freyther9c0ff4f2014-03-23 10:07:26 +010017void sys_err_setlogfile(FILE*);
18
jjakoa760e322003-04-11 09:43:22 +000019void sys_err(int pri, char *filename, int en, int line, char *fmt, ...);
20void sys_errpack(int pri, char *fn, int ln, int en, struct sockaddr_in *peer,
21 void *pack, unsigned len, char *fmt, ...);
22
Harald Weltebed35df2011-11-02 13:06:18 +010023#endif /* !_SYSERR_H */