aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_bssgp_pcu.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-13 12:51:16 +0200
committerIvan Kluchnikov <kluchnikovi@gmail.com>2013-07-30 12:19:40 +0400
commit90692f93cf48e7c3e3ce2ebb0718a0ad0a53d950 (patch)
tree1e1a59bd24f54e0765004420bdf9f9e50e30a076 /src/gprs_bssgp_pcu.h
parent90f08efe58935d7c08f407ba95921ca022a2edd6 (diff)
misc: Move the struct bssgp_bvc_ctx into the struct osmo_pcu
Diffstat (limited to 'src/gprs_bssgp_pcu.h')
-rw-r--r--src/gprs_bssgp_pcu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_bssgp_pcu.h b/src/gprs_bssgp_pcu.h
index dc57e4f5..dff86a36 100644
--- a/src/gprs_bssgp_pcu.h
+++ b/src/gprs_bssgp_pcu.h
@@ -41,8 +41,6 @@ struct bssgp_bvc_ctx *btsctx_alloc(uint16_t bvci, uint16_t nsei);
#define NS_HDR_LEN 4
#define IE_LLC_PDU 14
-extern struct bssgp_bvc_ctx *bctx;
-
int gprs_bssgp_pcu_rx_dl_ud(struct msgb *msg, struct tlv_parsed *tp);
int gprs_bssgp_pcu_rx_ptp(struct msgb *msg, struct tlv_parsed *tp, struct bssgp_bvc_ctx *bctx);
@@ -59,4 +57,6 @@ int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip, uint16_t
void gprs_bssgp_exit_on_destroy(void);
void gprs_bssgp_destroy_or_exit(void);
+struct bssgp_bvc_ctx *gprs_bssgp_pcu_current_bctx(void);
+
#endif // GPRS_BSSGP_PCU_H