libosmovty  1.0.1.85-9f28
Osmocom VTY library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cmd_element Struct Reference

Structure of a command element. More...

#include <command.h>

Data Fields

const char * string
 Command specification by string. More...
 
int(* func )(struct cmd_element *, struct vty *, int, const char *[])
 
const char * doc
 Documentation of this command. More...
 
int daemon
 Daemon to which this command belong. More...
 
vector strvec
 Pointing out each description vector. More...
 
unsigned int cmdsize
 Command index count. More...
 
char * config
 Configuration string. More...
 
vector subconfig
 Sub configuration string. More...
 
unsigned char attr
 Command attributes. More...
 

Detailed Description

Structure of a command element.

Field Documentation

unsigned char cmd_element::attr
unsigned int cmd_element::cmdsize
char* cmd_element::config

Configuration string.

int cmd_element::daemon

Daemon to which this command belong.

Referenced by cmd_execute_command_real(), and cmd_execute_command_strict().

const char* cmd_element::doc

Documentation of this command.

Referenced by gen_logging_level_cmd_strs(), install_element(), and logging_vty_add_deprecated_subsys().

int(* cmd_element::func)(struct cmd_element *, struct vty *, int, const char *[])
vector cmd_element::subconfig

Sub configuration string.


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