libosmovty 1.11.0.28-368d5.202505162026
Osmocom VTY library
Loading...
Searching...
No Matches
host Struct Reference

Host configuration variable. More...

#include <command.h>

Data Fields

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

Detailed Description

Host configuration variable.

Field Documentation

◆ advanced

int host::advanced

Flags for services.

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

◆ app_info

◆ config

char* host::config

config file name of this host

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

◆ enable

char* host::enable

Enable password.

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

◆ enable_encrypt

char* host::enable_encrypt

◆ encrypt

int host::encrypt

◆ lines

int host::lines

System wide terminal lines.

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

◆ logfile

char* host::logfile

Log filename.

Referenced by cmd_init().

◆ motd

const char* host::motd

Banner configuration.

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

◆ motdfile

char* host::motdfile

◆ name

char* host::name

Host name of this router.

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

◆ password

char* host::password

Password for vty interface.

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

◆ password_encrypt

char* host::password_encrypt

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