libosmovty  0.11.0.54.60f31
Osmocom VTY library
host Struct Reference

Host configuration variable. More...

#include <command.h>

Data Fields

char * name
 Host name of this router. More...
 
char * password
 Password for vty interface. More...
 
char * password_encrypt
 
char * enable
 Enable password. More...
 
char * enable_encrypt
 
int lines
 System wide terminal lines. More...
 
char * logfile
 Log filename. More...
 
char * config
 config file name of this host More...
 
int advanced
 Flags for services. More...
 
int encrypt
 
const char * motd
 Banner configuration. More...
 
char * motdfile
 
const struct vty_app_infoapp_info
 VTY application information. More...
 

Detailed Description

Host configuration variable.

Field Documentation

int host::advanced

Flags for services.

Referenced by config_write_host(), DEFUN(), vty_auth(), and vty_create().

char* host::config

config file name of this host

Referenced by ALIAS(), cmd_init(), DEFUN(), host_config_set(), and osmo_vty_save_config_file().

char* host::enable

Enable password.

Referenced by ALIAS(), cmd_init(), config_write_host(), DEFUN(), and vty_auth().

char* host::enable_encrypt
int host::encrypt
int host::lines

System wide terminal lines.

Referenced by cmd_init(), config_write_host(), DEFUN(), and vty_create().

char* host::logfile

Log filename.

Referenced by cmd_init(), and DEFUN_HIDDEN().

const char* host::motd

Banner configuration.

Referenced by cmd_init(), config_write_host(), DEFUN(), and vty_hello().

char* host::motdfile
char* host::name

Host name of this router.

Referenced by cmd_init(), config_write_host(), and DEFUN().

char* host::password

Password for vty interface.

Referenced by ALIAS(), cmd_init(), config_write_host(), DEFUN(), vty_auth(), and vty_create().

char* host::password_encrypt

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