Andreas Eversberg | 1294256 | 2012-07-12 14:31:57 +0200 | [diff] [blame] | 1 | #ifndef _PCU_VTY_H |
| 2 | #define _PCU_VTY_H |
| 3 | |
| 4 | #include <osmocom/vty/command.h> |
| 5 | #include <osmocom/vty/vty.h> |
| 6 | |
| 7 | enum pcu_vty_node { |
| 8 | PCU_NODE = _LAST_OSMOVTY_NODE + 1, |
| 9 | }; |
| 10 | |
| 11 | extern struct cmd_element ournode_exit_cmd; |
| 12 | extern struct cmd_element ournode_end_cmd; |
| 13 | |
| 14 | enum node_type pcu_vty_go_parent(struct vty *vty); |
| 15 | int pcu_vty_is_config_node(struct vty *vty, int node); |
| 16 | |
| 17 | int pcu_vty_init(const struct log_info *cat); |
| 18 | |
| 19 | extern struct vty_app_info pcu_vty_info; |
| 20 | |
| 21 | #endif /* _PCU_VTY_H */ |
| 22 | |