aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty.h
diff options
context:
space:
mode:
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 */
+