diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-11 13:53:47 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-26 02:25:46 +0200 |
commit | c13e68774215c4156925e8a2012fcb9169cf70b2 (patch) | |
tree | 4c4dc2b3ece4dc558a19d8ae9236e6f59bfcf11e /openbsc/include | |
parent | 77c8d5ffb52bd5da405fc869286b4f7aa7f88d4d (diff) |
mscsplit: talloc_ctx_init(): decouple from global tall_bsc_ctx
Decouple the talloc context allocations from global tall_bsc_ctx pointer.
It appears that talloc_ctx_init() was intended for general use, since it is
located in libcommon. It is currently used only by osmo-nitb; but the upcoming
osmo-cscn will use it as well.
Instead of defining in osmo-nitb main file, add definition in gsm_data.h.
Change-Id: I168106599b788f586be0ff0af4699b9746c1b103
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index fbb035682..26efeaa3a 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -394,6 +394,8 @@ struct gsm_sms { char text[SMS_TEXT_SIZE]; }; +extern void talloc_ctx_init(void *ctx_root); + struct gsm_network *gsm_network_init(void *ctx, uint16_t country_code, uint16_t network_code, |