Re-import of fprobe-ulog
[fprobe-ulog.git] / src / my_log.h
1 /*
2         Copyright (C) Slava Astashonok <sla@0n.ru>
3
4         This program is free software; you can redistribute it and/or
5         modify it under the terms of the GNU General Public License.
6
7         $Id: my_log.h,v 1.1.1.1.2.2 2004/02/02 08:06:24 sla Exp $
8 */
9
10 #ifndef _MY_LOG_H_
11 #define _MY_LOG_H_
12
13 #define MY_LOG_SYSLOG 0x01
14 #define MY_LOG_STDOUT 0x02
15 #define MY_LOG_SYSLOG_FACILITY LOG_DAEMON
16 #define MY_LOG_MAX_INDEX 32
17
18 #include <syslog.h>
19
20 void my_log_open(char *, unsigned, unsigned);
21 void my_log_close(void);
22 void my_log(unsigned, const char *, ...);
23
24 #endif