diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-06 18:31:20 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-06 18:31:20 +0200 |
commit | 978714d752839ea769641feb9d0dcc79f074b6ea (patch) | |
tree | 2f37381086d3391c3f596c66182d56ac4fc36b19 /openbsc/include | |
parent | 28307643d79857b703d335cd46f70d748787a41a (diff) |
move objclass2{nmstate,mo,}obj() to gsm_data_shared.c (and prefix)
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 81800d5ab..51e0965e2 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -496,10 +496,10 @@ struct gsm_bts { /* do we use static (user-defined) system information messages? (bitmask) */ uint32_t si_mode_static; #endif /* ROLE_BSC */ + void *role; }; - struct gsm_bts *gsm_bts_alloc(void *talloc_ctx); struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts); @@ -515,4 +515,15 @@ char *gsm_lchan_name(struct gsm_lchan *lchan); const char *gsm_lchans_name(enum gsm_lchan_state s); +struct gsm_abis_mo * +gsm_objclass2mo(struct gsm_bts *bts, uint8_t obj_class, + struct abis_om_obj_inst *obj_inst); + +struct gsm_nm_state * +gsm_objclass2nmstate(struct gsm_bts *bts, uint8_t obj_class, + struct abis_om_obj_inst *obj_inst); +void * +gsm_objclass2obj(struct gsm_bts *bts, uint8_t obj_class, + struct abis_om_obj_inst *obj_inst); + #endif |