libosmovty 1.10.0.64-ff3d
Osmocom VTY library
|
Node which has some commands and prompt string and configuration function pointer . More...
#include <command.h>
Data Fields | |
int | node |
Node index. More... | |
const char * | prompt |
Prompt character at vty interface. More... | |
int | vtysh |
Is this node's configuration goes to vtysh ? More... | |
int(* | func )(struct vty *) |
Node's configuration write function. More... | |
vector | cmd_vector |
Vector of this node's command list. More... | |
char | name [64] |
Human-readable ID of this node. More... | |
Node which has some commands and prompt string and configuration function pointer .
vector cmd_node::cmd_vector |
Vector of this node's command list.
Referenced by check_element_exists(), cmd_node_vector(), gDEFUN(), install_element(), install_node_bare(), node_flag_mask(), sort_node(), and vty_dump_nodes().
int(* cmd_node::func) (struct vty *) |
Node's configuration write function.
Referenced by if(), install_node(), install_node_bare(), and write_config_file().
char cmd_node::name[64] |
Human-readable ID of this node.
Should only contain alphanumeric plus '-' and '_' characters (is used as XML ID for 'show online-help'). If left NUL, this is derived from the prompt.
Referenced by install_node_bare(), and vty_dump_nodes().
int cmd_node::node |
Node index.
Referenced by install_node(), install_node_bare(), and vty_dump_nodes().
const char* cmd_node::prompt |
Prompt character at vty interface.
Referenced by cmd_prompt(), install_node_bare(), and node_name_from_prompt().
int cmd_node::vtysh |
Is this node's configuration goes to vtysh ?
Referenced by if().