From 197dea95ff55acd86d5800f5a1cf7e339b24064d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 14 May 2010 17:59:53 +0200 Subject: VTY: Introduce common code to add 'description' to objects like BTS There is now an option to add a human-readable description to objects that are configured in the VTY. --- openbsc/include/openbsc/vty.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'openbsc/include/openbsc/vty.h') 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 +#include + 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 -- cgit v1.2.3