aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sgsn/debug.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-04 15:13:25 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-06 16:47:47 +0200
commit396f2e69a047f461e2fcabae4c1f9990730289a3 (patch)
tree88a5843f3dcfb30a010e14289a829adf0e30af8f /include/osmocom/sgsn/debug.h
parent2c17747c1b470118195518452860c3a3cae946dd (diff)
move include/openbsc to include/osmocom/sgsn
Diffstat (limited to 'include/osmocom/sgsn/debug.h')
-rw-r--r--include/osmocom/sgsn/debug.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/debug.h b/include/osmocom/sgsn/debug.h
new file mode 100644
index 000000000..65e197d52
--- /dev/null
+++ b/include/osmocom/sgsn/debug.h
@@ -0,0 +1,47 @@
+#pragma once
+
+#include <stdio.h>
+#include <osmocom/core/linuxlist.h>
+
+#define DEBUG
+#include <osmocom/core/logging.h>
+
+/* Debug Areas of the code */
+enum {
+ DRLL,
+ DCC,
+ DMM,
+ DRR,
+ DRSL,
+ DNM,
+ DMNCC,
+ DPAG,
+ DMEAS,
+ DSCCP,
+ DMSC,
+ DMGCP,
+ DHO,
+ DDB,
+ DREF,
+ DGPRS,
+ DNS,
+ DBSSGP,
+ DLLC,
+ DSNDCP,
+ DSLHC,
+ DNAT,
+ DCTRL,
+ DSMPP,
+ DFILTER,
+ DGTPHUB,
+ DRANAP,
+ DSUA,
+ DV42BIS,
+ DPCU,
+ DVLR,
+ DIUCS,
+ DSIGTRAN,
+ Debug_LastEntry,
+};
+
+extern const struct log_info log_info;