libosmovty  0.9.6.311-c977
Osmocom VTY library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cmd_node Struct Reference

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...
 

Detailed Description

Node which has some commands and prompt string and configuration function pointer .

Field Documentation

vector cmd_node::cmd_vector
int(* cmd_node::func)(struct vty *)

Node's configuration write function.

Referenced by if(), install_node(), and write_config_file().

int cmd_node::node

Node index.

Referenced by install_node().

const char* cmd_node::prompt

Prompt character at vty interface.

Referenced by cmd_prompt().

int cmd_node::vtysh

Is this node's configuration goes to vtysh ?

Referenced by if().


The documentation for this struct was generated from the following file: