aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/msg_utils.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-27 15:55:45 +0200
committerpespin <pespin@sysmocom.de>2019-10-05 20:50:13 +0000
commit972c24314694396c9b66fd8175cdcd40f01bdd39 (patch)
tree89b9a353434133e96d83df7c0efab23bf8c42861 /src/common/msg_utils.c
parent41c7b052838aaf17cd96daa8d7478b434bf4ab2a (diff)
struct gsm_bts: Add model_priv pointer handing bts_model specific data
Currently there's bts-virtual specific fields in gsm_bts which is not used by other models and are always allocated. An alternative would be having a union with different structs inside, one per model, but since we already have the bts_model abstraction, in this case it makes more sense to use that abstraction instead of filling code with preprocessor ifdefs to guard against non-defined types, etc. Existing model specific data is moved there. This new infra will be user further in forthcoming commits. Related: OS#4215 Change-Id: Ib17a752cdbaa7d5eb8c5dfa0b197f80a4f38b38e
Diffstat (limited to 'src/common/msg_utils.c')
0 files changed, 0 insertions, 0 deletions