diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-03-31 17:17:02 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-04-06 12:47:40 +0200 |
commit | 3fdee23f18f955dbeee14878da791fdcfdcf393d (patch) | |
tree | a44f268d8671756dd0412139a1aa7c1167a34644 /src/libstrongswan/debug.c | |
parent | 9f3df622e4f1bbfd16cecc9f46e3b48e8deb83e2 (diff) | |
download | strongswan-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.c | 26 |
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 */ |