aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/vty.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-14 17:59:53 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-14 18:05:41 +0200
commit197dea95ff55acd86d5800f5a1cf7e339b24064d (patch)
treea59916e0882b4fc876c331e3d58e76d4c4585c08 /openbsc/include/openbsc/vty.h
parentd94d6a02d5e50c7d4b4bcddcb59ffdad23d7757b (diff)
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.
Diffstat (limited to 'openbsc/include/openbsc/vty.h')
-rw-r--r--openbsc/include/openbsc/vty.h8
1 files changed, 8 insertions, 0 deletions
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