diff options
author | Harald Welte <laforge@gnumonks.org> | 2008-12-26 00:06:02 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2008-12-26 00:06:02 +0000 |
commit | 3633a6daf9b95c868512b963575c42290bfaa4b5 (patch) | |
tree | 4275299a674db5634c3b05852c71e89bb64d24df | |
parent | f6b7a9054cfa1ad4ad28c9d7966ee1fee8be81d3 (diff) |
* fix DEBUGP defines, activate DEBUG functionality
* fix typo in db_transmission function
-rw-r--r-- | include/openbsc/abis_nm.h | 2 | ||||
-rw-r--r-- | include/openbsc/debug.h | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h index ca4de85a4..f0bb33cdc 100644 --- a/include/openbsc/abis_nm.h +++ b/include/openbsc/abis_nm.h @@ -311,6 +311,6 @@ int abis_nm_set_channel_attr(struct gsm_bts_trx_ts *ts, u_int8_t chan_comb); int abis_nm_raw_msg(struct gsm_bts *bts, int len, u_int8_t *msg); int abis_nm_event_reports(struct gsm_bts *bts, int on); int abis_nm_reset_resource(struct gsm_bts *bts); -int abis_nm_db_transaction(struct gsm_bts *bts, int begin); +int abis_nm_db_transmission(struct gsm_bts *bts, int begin); #endif /* _NM_H */ diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h index c1db120a9..41953a362 100644 --- a/include/openbsc/debug.h +++ b/include/openbsc/debug.h @@ -1,13 +1,18 @@ #ifndef _DEBUG_H #define _DEBUG_H +#define DEBUG + #define DRLL 0x0001 #define DCC 0x0002 #define DMM 0x0004 #define DRR 0x0008 +#define DRSL 0x0010 +#define DNM 0x0020 +#define DMI 0x1000 #ifdef DEBUG -#define DEBUGP(ss, args, ...) debugp(ss, args, ...) +#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args) #else #define DEBUGP(xss, args, ...) #endif |