diff options
Diffstat (limited to 'include/openbsc/debug.h')
-rw-r--r-- | include/openbsc/debug.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h new file mode 100644 index 000000000..8a4247b69 --- /dev/null +++ b/include/openbsc/debug.h @@ -0,0 +1,49 @@ +#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, + Debug_LastEntry, +}; + +struct gsm_subscriber; + +void log_set_filter_vlr_subscr(struct log_target *target, + struct gsm_subscriber *vlr_subscr); + +extern const struct log_info log_info; |