aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/osmocom/gprs
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
commit68d85d5610858e1c7d0427a82bae1fb645f5590a (patch)
tree1011076b6b2092c17f5ff5d30331ce3e9dbd2474 /openbsc/include/osmocom/gprs
parentfdd8b3b40dd4499a15558afc10f8d7cfd0041157 (diff)
libgb: Remove dependency to openbsc/debug.h
Diffstat (limited to 'openbsc/include/osmocom/gprs')
-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 9970a513d..25c902c17 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 eddd888f5..3567bb7f3 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 ab4bd4e67..a77515d25 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