From cca4963c581f26353b6fb1187446df70b399cf29 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 16 Jun 2012 17:45:59 +0800 Subject: libgb: Remove dependency to openbsc/debug.h --- openbsc/include/osmocom/gprs/gprs_bssgp.h | 1 + openbsc/include/osmocom/gprs/gprs_msgb.h | 4 ++++ openbsc/include/osmocom/gprs/gprs_ns.h | 2 ++ 3 files changed, 7 insertions(+) (limited to 'openbsc/include/osmocom') diff --git a/openbsc/include/osmocom/gprs/gprs_bssgp.h b/openbsc/include/osmocom/gprs/gprs_bssgp.h index 9970a513..25c902c1 100644 --- a/openbsc/include/osmocom/gprs/gprs_bssgp.h +++ b/openbsc/include/osmocom/gprs/gprs_bssgp.h @@ -249,5 +249,6 @@ int gprs_bssgp_tx_paging(uint16_t nsei, uint16_t ns_bvci, /* gprs_bssgp_vty.c */ int gprs_bssgp_vty_init(void); +void gprs_bssgp_set_log_ss(int ss); #endif /* _GPRS_BSSGP_H */ diff --git a/openbsc/include/osmocom/gprs/gprs_msgb.h b/openbsc/include/osmocom/gprs/gprs_msgb.h index eddd888f..3567bb7f 100644 --- a/openbsc/include/osmocom/gprs/gprs_msgb.h +++ b/openbsc/include/osmocom/gprs/gprs_msgb.h @@ -27,4 +27,8 @@ struct libgb_msgb_cb { #define msgb_bcid(__x) LIBGB_MSGB_CB(__x)->bssgp_cell_id #define msgb_llch(__x) LIBGB_MSGB_CB(__x)->llch +/* logging contexts */ +#define GPRS_CTX_NSVC 0 +#define GPRS_CTX_BVC 1 + #endif diff --git a/openbsc/include/osmocom/gprs/gprs_ns.h b/openbsc/include/osmocom/gprs/gprs_ns.h index ab4bd4e6..a77515d2 100644 --- a/openbsc/include/osmocom/gprs/gprs_ns.h +++ b/openbsc/include/osmocom/gprs/gprs_ns.h @@ -258,6 +258,8 @@ struct ns_signal_data { uint8_t cause; }; +void gprs_ns_set_log_ss(int ss); + /*! }@ */ #endif -- cgit v1.2.3