diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-08-17 12:42:06 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-08-17 12:42:06 +0200 |
commit | 4ab9d7c0129e7920351965b9cfdfdea9b7093758 (patch) | |
tree | c53e275f3e9629eaf01680cfc4d8b53977ba2334 /openbsc/include/openbsc/gsm_data_shared.h | |
parent | 13fe21939cc735529aa456fe0ccfb755a487c1e9 (diff) |
dynamically generate a proper VTY reference for phys_chan_config
this uses vty_cmd_string_from_valstr() from _very_ recent libosmocore,
so you have to update the library, sorry.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 310e8886b..3ba7a4bef 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -658,6 +658,10 @@ struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts); struct gsm_bts_trx *gsm_bts_trx_num(const struct gsm_bts *bts, int num); + +const struct value_string gsm_pchant_names[10]; +const struct value_string gsm_pchant_descs[10]; +const struct value_string gsm_lchant_names[6]; const char *gsm_pchan_name(enum gsm_phys_chan_config c); enum gsm_phys_chan_config gsm_pchan_parse(const char *name); const char *gsm_lchant_name(enum gsm_chan_t c); |