aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-12 14:31:57 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-07-13 12:30:03 +0200
commit1294256d65aeda9f37a20d0edae28a78b89bcf0f (patch)
tree7f001826adad27f6ed332e41ba046b9e873f5378 /src/pcu_vty.h
parentef7f28cc7fe67e353821c5f88bc80d5120fec3ca (diff)
VTY implementation
Diffstat (limited to 'src/pcu_vty.h')
-rw-r--r--src/pcu_vty.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pcu_vty.h b/src/pcu_vty.h
new file mode 100644
index 00000000..390d75cd
--- /dev/null
+++ b/src/pcu_vty.h
@@ -0,0 +1,22 @@
+#ifndef _PCU_VTY_H
+#define _PCU_VTY_H
+
+#include <osmocom/vty/command.h>
+#include <osmocom/vty/vty.h>
+
+enum pcu_vty_node {
+ PCU_NODE = _LAST_OSMOVTY_NODE + 1,
+};
+
+extern struct cmd_element ournode_exit_cmd;
+extern struct cmd_element ournode_end_cmd;
+
+enum node_type pcu_vty_go_parent(struct vty *vty);
+int pcu_vty_is_config_node(struct vty *vty, int node);
+
+int pcu_vty_init(const struct log_info *cat);
+
+extern struct vty_app_info pcu_vty_info;
+
+#endif /* _PCU_VTY_H */
+