diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-14 16:15:21 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-14 16:15:21 +0100 |
commit | face7edc6223c2ee3e85daa3b3ea459f6278b394 (patch) | |
tree | d2e1aff62aebffdf2c864a4ed33764062b028f40 /openbsc/include/openbsc | |
parent | a0fe72de6f7d4c6cd7b6508b7e819e94f8c29989 (diff) |
VTY: Allow for per-BTS-model specific config file write functions
This way a BTS module can append config data to the TS, TRX and BTS
sections.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index a9f9e5e64..f40bcbdd3 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -426,6 +426,8 @@ enum gsm_bts_type { GSM_BTS_TYPE_RBS2000, }; +struct vty; + struct gsm_bts_model { struct llist_head list; @@ -434,6 +436,10 @@ struct gsm_bts_model { int (*oml_rcvmsg)(struct msgb *msg); + void (*config_write_bts)(struct vty *vty, struct gsm_bts *bts); + void (*config_write_trx)(struct vty *vty, struct gsm_bts_trx *trx); + void (*config_write_ts)(struct vty *vty, struct gsm_bts_trx_ts *ts); + struct tlv_definition nm_att_tlvdef; struct bitvec features; |