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-04 15:32:08 +0200
commitf62d3da86bf1b89c20755c1e82a3674bc6387d63 (patch)
treefb5ce2e8b411ac003bc9b3b4f9eecf396480351d /include/osmocom/sgsn/debug.h
parent1d55ce7abc3045bf84520ca942b0199bc2094eaf (diff)
move include/openbsc to include/osmocom/sgsnneels/pending
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 00000000..65e197d5
--- /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;