aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/debug.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-31 17:17:02 +0200
committerTobias Brunner <tobias@strongswan.org>2010-04-06 12:47:40 +0200
commit3fdee23f18f955dbeee14878da791fdcfdcf393d (patch)
treea44f268d8671756dd0412139a1aa7c1167a34644 /src/libstrongswan/debug.c
parent9f3df622e4f1bbfd16cecc9f46e3b48e8deb83e2 (diff)
downloadstrongswan-3fdee23f18f955dbeee14878da791fdcfdcf393d.tar.bz2
strongswan-3fdee23f18f955dbeee14878da791fdcfdcf393d.tar.xz
Move debug groups from charon's bus.h to libstrongswan's debug.h.
Diffstat (limited to 'src/libstrongswan/debug.c')
-rw-r--r--src/libstrongswan/debug.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libstrongswan/debug.c b/src/libstrongswan/debug.c
index 51b7875d8..d09825996 100644
--- a/src/libstrongswan/debug.c
+++ b/src/libstrongswan/debug.c
@@ -17,6 +17,32 @@
#include "debug.h"
+ENUM(debug_names, DBG_DMN, DBG_LIB,
+ "DMN",
+ "MGR",
+ "IKE",
+ "CHD",
+ "JOB",
+ "CFG",
+ "KNL",
+ "NET",
+ "ENC",
+ "LIB",
+);
+
+ENUM(debug_lower_names, DBG_DMN, DBG_LIB,
+ "dmn",
+ "mgr",
+ "ike",
+ "chd",
+ "job",
+ "cfg",
+ "knl",
+ "net",
+ "enc",
+ "lib",
+);
+
/**
* level logged by the default logger
*/