aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty.h
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2012-10-05 18:17:57 +0400
committerIvan Kluchnikov <kluchnikovi@gmail.com>2012-10-05 18:17:57 +0400
commit9eb552b2399a714495cff4b7dc38c70b133342bb (patch)
tree311457f5de308e5162565d9358c3f3bf90d01369 /src/pcu_vty.h
parenta95348c03e815290aca81ef1d01fa611766dc184 (diff)
parent499ff415a92909d125499d70ba8288bbc6ed8f60 (diff)
Merge branch 'jolly'
Conflicts: src/gprs_bssgp_pcu.cpp src/gprs_rlcmac.cpp src/gprs_rlcmac_data.cpp src/gprs_rlcmac_sched.cpp
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 */
+