added (unused) rules.rc parser to so. it will be used later.
[umfw.git] / src / common.h
blobc80731d7f304064ea9a7b6f89b8cbe1b8c18f644
1 #ifndef COMMON_N
2 #define COMMON_N
4 #include "config.h"
7 #define LOGMSG_NONE -1
8 #define LOGMSG_ERR 0
9 #define LOGMSG_WARN 1
10 #define LOGMSG_NOTICE 2
11 #define LOGMSG_DEBUG 3
14 #ifndef OPT_RULEPARSER_TEST
15 static void setLogOptions (int level, const char *filename, int timestamp);
16 #endif
17 static void logMsg (int level, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
20 * returns static buffer
22 static char *getProcName (void);
25 #endif