commit | 68d85d5610858e1c7d0427a82bae1fb645f5590a | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Jun 16 17:45:59 2012 +0800 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Jun 16 17:53:38 2012 +0800 |
tree | 1011076b6b2092c17f5ff5d30331ce3e9dbd2474 | |
parent | fdd8b3b40dd4499a15558afc10f8d7cfd0041157 [diff] |
libgb: Remove dependency to openbsc/debug.h
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index 43f0ff8..0023b8c 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h
@@ -40,8 +40,6 @@ #define BSC_CTX_SUBSCR 1 #define BSC_CTX_BTS 2 #define BSC_CTX_SCCP 3 -#define BSC_CTX_NSVC 4 -#define BSC_CTX_BVC 5 /* target */
diff --git a/openbsc/include/osmocom/gprs/gprs_bssgp.h b/openbsc/include/osmocom/gprs/gprs_bssgp.h index 9970a51..25c902c 100644 --- a/openbsc/include/osmocom/gprs/gprs_bssgp.h +++ b/openbsc/include/osmocom/gprs/gprs_bssgp.h
@@ -249,5 +249,6 @@ /* 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 eddd888..3567bb7 100644 --- a/openbsc/include/osmocom/gprs/gprs_msgb.h +++ b/openbsc/include/osmocom/gprs/gprs_msgb.h
@@ -27,4 +27,8 @@ #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 ab4bd4e..a77515d 100644 --- a/openbsc/include/osmocom/gprs/gprs_ns.h +++ b/openbsc/include/osmocom/gprs/gprs_ns.h
@@ -258,6 +258,8 @@ uint8_t cause; }; +void gprs_ns_set_log_ss(int ss); + /*! }@ */ #endif