Re-import of fprobe-ulog
[fprobe-ulog.git] / src / common.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: common.h,v 1.2.2.2 2004/02/02 08:06:24 sla Exp $
8 */
9
10 #ifndef _COMMON_H_
11 #define _COMMON_H_
12
13 #define DBG my_log(LOG_DEBUG, "DBG: %s:%d", __FILE__, __LINE__)
14
15 #include <config.h>
16
17 /* Capture*/
18 #define DEBUG_C 1
19 /* Unpending */
20 #define DEBUG_U 2
21 /* Scan */
22 #define DEBUG_S 4
23 /* Emit */
24 #define DEBUG_E 8
25 /* Memory */
26 #define DEBUG_M 16
27 /* Fill */
28 #define DEBUG_F 32
29 /* Info */
30 #define DEBUG_I 64
31
32 #endif