\doxysection{host Struct Reference}
\label{structhost}\index{host@{host}}


Host configuration variable.  




{\ttfamily \#include $<$command.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
char $\ast$ \textbf{ name}
\begin{DoxyCompactList}\small\item\em Host name of this router. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ password}
\begin{DoxyCompactList}\small\item\em Password for vty interface. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ password\+\_\+encrypt}
\item 
char $\ast$ \textbf{ enable}
\begin{DoxyCompactList}\small\item\em Enable password. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ enable\+\_\+encrypt}
\item 
int \textbf{ lines}
\begin{DoxyCompactList}\small\item\em System wide terminal lines. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ logfile}
\begin{DoxyCompactList}\small\item\em Log filename. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ config}
\begin{DoxyCompactList}\small\item\em config file name of this host \end{DoxyCompactList}\item 
int \textbf{ advanced}
\begin{DoxyCompactList}\small\item\em Flags for services. \end{DoxyCompactList}\item 
int \textbf{ encrypt}
\item 
const char $\ast$ \textbf{ motd}
\begin{DoxyCompactList}\small\item\em Banner configuration. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ motdfile}
\item 
const struct \textbf{ vty\+\_\+app\+\_\+info} $\ast$ \textbf{ app\+\_\+info}
\begin{DoxyCompactList}\small\item\em VTY application information. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Host configuration variable. 

\doxysubsection{Field Documentation}
\mbox{\label{structhost_af1f270bdc9e34870cc10cf9fe0f5a65e}} 
\index{host@{host}!advanced@{advanced}}
\index{advanced@{advanced}!host@{host}}
\doxysubsubsection{advanced}
{\footnotesize\ttfamily int host\+::advanced}



Flags for services. 



Referenced by \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, \textbf{ vty\+\_\+auth()}, and \textbf{ vty\+\_\+create()}.

\mbox{\label{structhost_a82750f562fa69f5d2db52381ae7441e5}} 
\index{host@{host}!app\_info@{app\_info}}
\index{app\_info@{app\_info}!host@{host}}
\doxysubsubsection{app\_info}
{\footnotesize\ttfamily const struct \textbf{ vty\+\_\+app\+\_\+info}$\ast$ host\+::app\+\_\+info}



VTY application information. 



Referenced by \textbf{ cmd\+\_\+flag\+\_\+mask()}, \textbf{ DEFUN()}, \textbf{ node\+\_\+flag\+\_\+mask()}, \textbf{ print\+\_\+attr\+\_\+list()}, \textbf{ print\+\_\+version()}, \textbf{ talloc\+\_\+ctx\+\_\+walk()}, \textbf{ vty\+\_\+dump\+\_\+element()}, \textbf{ vty\+\_\+go\+\_\+parent()}, \textbf{ vty\+\_\+hello()}, \textbf{ vty\+\_\+init()}, \textbf{ vty\+\_\+prompt()}, and \textbf{ write\+\_\+config\+\_\+file()}.

\mbox{\label{structhost_a7cc48d6768386e022dfd88c4f35bb1f2}} 
\index{host@{host}!config@{config}}
\index{config@{config}!host@{host}}
\doxysubsubsection{config}
{\footnotesize\ttfamily char$\ast$ host\+::config}



config file name of this host 



Referenced by \textbf{ ALIAS()}, \textbf{ cmd\+\_\+init()}, \textbf{ DEFUN()}, \textbf{ host\+\_\+config\+\_\+file()}, \textbf{ host\+\_\+config\+\_\+set()}, and \textbf{ osmo\+\_\+vty\+\_\+save\+\_\+config\+\_\+file()}.

\mbox{\label{structhost_ace72f74a0e8a9de32416e8c5506dbabb}} 
\index{host@{host}!enable@{enable}}
\index{enable@{enable}!host@{host}}
\doxysubsubsection{enable}
{\footnotesize\ttfamily char$\ast$ host\+::enable}



Enable password. 



Referenced by \textbf{ ALIAS()}, \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+auth()}.

\mbox{\label{structhost_afba3bc94121be3f66115ba2bec80b7bd}} 
\index{host@{host}!enable\_encrypt@{enable\_encrypt}}
\index{enable\_encrypt@{enable\_encrypt}!host@{host}}
\doxysubsubsection{enable\_encrypt}
{\footnotesize\ttfamily char$\ast$ host\+::enable\+\_\+encrypt}



Referenced by \textbf{ ALIAS()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+auth()}.

\mbox{\label{structhost_aabaa0ca6772ffc87e7d8b2628de0c009}} 
\index{host@{host}!encrypt@{encrypt}}
\index{encrypt@{encrypt}!host@{host}}
\doxysubsubsection{encrypt}
{\footnotesize\ttfamily int host\+::encrypt}



Referenced by \textbf{ ALIAS()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+auth()}.

\mbox{\label{structhost_a0bd83ed5d3b108e078077a3d9be64ae1}} 
\index{host@{host}!lines@{lines}}
\index{lines@{lines}!host@{host}}
\doxysubsubsection{lines}
{\footnotesize\ttfamily int host\+::lines}



System wide terminal lines. 



Referenced by \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+create()}.

\mbox{\label{structhost_a2ef46382f0e129ac4dc2e97853dc5ee4}} 
\index{host@{host}!logfile@{logfile}}
\index{logfile@{logfile}!host@{host}}
\doxysubsubsection{logfile}
{\footnotesize\ttfamily char$\ast$ host\+::logfile}



Log filename. 



Referenced by \textbf{ cmd\+\_\+init()}.

\mbox{\label{structhost_a9d391f73e2bf946ad6b46f2a6f70e764}} 
\index{host@{host}!motd@{motd}}
\index{motd@{motd}!host@{host}}
\doxysubsubsection{motd}
{\footnotesize\ttfamily const char$\ast$ host\+::motd}



Banner configuration. 



Referenced by \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+hello()}.

\mbox{\label{structhost_aff68c4aa7277dc443ce82ad17135445d}} 
\index{host@{host}!motdfile@{motdfile}}
\index{motdfile@{motdfile}!host@{host}}
\doxysubsubsection{motdfile}
{\footnotesize\ttfamily char$\ast$ host\+::motdfile}



Referenced by \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, and \textbf{ vty\+\_\+hello()}.

\mbox{\label{structhost_ae29a96977a9350ec0d4323ccd38ebc9b}} 
\index{host@{host}!name@{name}}
\index{name@{name}!host@{host}}
\doxysubsubsection{name}
{\footnotesize\ttfamily char$\ast$ host\+::name}



Host name of this router. 



Referenced by \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, and \textbf{ DEFUN()}.

\mbox{\label{structhost_ad0af28f48e2903d894adc73c3c58469a}} 
\index{host@{host}!password@{password}}
\index{password@{password}!host@{host}}
\doxysubsubsection{password}
{\footnotesize\ttfamily char$\ast$ host\+::password}



Password for vty interface. 



Referenced by \textbf{ cmd\+\_\+init()}, \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, \textbf{ vty\+\_\+auth()}, and \textbf{ vty\+\_\+create()}.

\mbox{\label{structhost_a8c7b6573685405878afa6bd78fb68a9c}} 
\index{host@{host}!password\_encrypt@{password\_encrypt}}
\index{password\_encrypt@{password\_encrypt}!host@{host}}
\doxysubsubsection{password\_encrypt}
{\footnotesize\ttfamily char$\ast$ host\+::password\+\_\+encrypt}



Referenced by \textbf{ config\+\_\+write\+\_\+host()}, \textbf{ DEFUN()}, \textbf{ vty\+\_\+auth()}, and \textbf{ vty\+\_\+create()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/vty/\textbf{ command.\+h}\end{DoxyCompactItemize}
