diff options
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 4 | ||||
-rw-r--r-- | openbsc/include/openbsc/vty.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 91527c933..5cd43d712 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -322,6 +322,8 @@ struct gsm_bts_trx { struct gsm_bts *bts; /* number of this TRX in the BTS */ u_int8_t nr; + /* human readable name / description */ + char *description; /* how do we talk RSL with this TRX? */ struct gsm_e1_subslot rsl_e1_link; u_int8_t rsl_tei; @@ -428,6 +430,8 @@ struct gsm_bts { struct gsm_network *network; /* number of ths BTS in network */ u_int8_t nr; + /* human readable name / description */ + char *description; /* Cell Identity */ u_int16_t cell_identity; /* location area code of this BTS */ diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h index f1b1148ad..55f54612b 100644 --- a/openbsc/include/openbsc/vty.h +++ b/openbsc/include/openbsc/vty.h @@ -1,10 +1,18 @@ #ifndef OPENBSC_VTY_H #define OPENBSC_VTY_H +#include <vty/vty.h> +#include <vty/buffer.h> + struct gsm_network; struct vty; void openbsc_vty_add_cmds(void); void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *); +struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); + +extern struct cmd_element cfg_description_cmd; +extern struct cmd_element cfg_no_description_cmd; + #endif |