diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-18 01:03:44 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-18 03:21:22 +0200 |
commit | 4d8eb4cbd7e7ecc1ad04e3b38ab5121dca2580b1 (patch) | |
tree | 1fd24ce48dc3989e054ed9435c871952ce72d710 /src/hnbgw.h | |
parent | 1d03f19e06ae5ca51e3f37fa01c6585df6d8ad26 (diff) |
hnbgw: move vty commands out to new hnbgw_vty.c
Pass g_hnb_gw and tall_hnb_ctx to hnbgw_vty_init() as they are no longer
statically available.
Change-Id: If85c1b97a240bd1dcf9f367ea6fca857d542ab22
Diffstat (limited to 'src/hnbgw.h')
-rw-r--r-- | src/hnbgw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hnbgw.h b/src/hnbgw.h index 9f010d9..9b5ae85 100644 --- a/src/hnbgw.h +++ b/src/hnbgw.h @@ -132,6 +132,8 @@ struct hnb_gw { struct hnbgw_cnlink *cnlink_ps; }; +extern void *talloc_asn1_ctx; + struct ue_context *ue_context_by_id(struct hnb_gw *gw, uint32_t id); struct ue_context *ue_context_by_imsi(struct hnb_gw *gw, const char *imsi); struct ue_context *ue_context_alloc(struct hnb_context *hnb, const char *imsi); @@ -139,3 +141,5 @@ void ue_context_free(struct ue_context *ue); struct hnb_context *hnb_context_alloc(struct hnb_gw *gw, struct osmo_stream_srv_link *link, int new_fd); void hnb_context_release(struct hnb_context *ctx); + +void hnbgw_vty_init(struct hnb_gw *gw, void *tall_ctx); |