aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-16 17:45:59 +0800
committerHarald Welte <laforge@gnumonks.org>2012-06-16 17:53:38 +0800
commitcca4963c581f26353b6fb1187446df70b399cf29 (patch)
tree7b68a846b718c72a6e78398ec70a943b9ca722f5 /openbsc/include/osmocom
parent4f5883bc6ef83e692625de05e1d7297a0772d4c7 (diff)
libgb: Remove dependency to openbsc/debug.h
Diffstat (limited to 'openbsc/include/osmocom')
-rw-r--r--openbsc/include/osmocom/gprs/gprs_bssgp.h1
-rw-r--r--openbsc/include/osmocom/gprs/gprs_msgb.h4
-rw-r--r--openbsc/include/osmocom/gprs/gprs_ns.h2
3 files changed, 7 insertions, 0 deletions
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