\doxysection{cmd\+\_\+node Struct Reference}
\label{structcmd__node}\index{cmd\_node@{cmd\_node}}


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




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int \textbf{ node}
\begin{DoxyCompactList}\small\item\em Node index. \end{DoxyCompactList}\item 
const char $\ast$ \textbf{ prompt}
\begin{DoxyCompactList}\small\item\em Prompt character at vty interface. \end{DoxyCompactList}\item 
int \textbf{ vtysh}
\begin{DoxyCompactList}\small\item\em Is this node\textquotesingle{}s configuration goes to vtysh ? \end{DoxyCompactList}\item 
int($\ast$ \textbf{ func} )(struct \textbf{ vty} $\ast$)
\begin{DoxyCompactList}\small\item\em Node\textquotesingle{}s configuration write function. \end{DoxyCompactList}\item 
\textbf{ vector} \textbf{ cmd\+\_\+vector}
\begin{DoxyCompactList}\small\item\em Vector of this node\textquotesingle{}s command list. \end{DoxyCompactList}\item 
char \textbf{ name} [64]
\begin{DoxyCompactList}\small\item\em Human-\/readable ID of this node. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Node which has some commands and prompt string and configuration function pointer . 

\doxysubsection{Field Documentation}
\mbox{\label{structcmd__node_a3660bbd0296dd72610f5d49e076def60}} 
\index{cmd\_node@{cmd\_node}!cmd\_vector@{cmd\_vector}}
\index{cmd\_vector@{cmd\_vector}!cmd\_node@{cmd\_node}}
\doxysubsubsection{cmd\_vector}
{\footnotesize\ttfamily \textbf{ vector} cmd\+\_\+node\+::cmd\+\_\+vector}



Vector of this node\textquotesingle{}s command list. 



Referenced by \textbf{ check\+\_\+element\+\_\+exists()}, \textbf{ cmd\+\_\+node\+\_\+vector()}, \textbf{ g\+DEFUN()}, \textbf{ install\+\_\+element()}, \textbf{ install\+\_\+node\+\_\+bare()}, \textbf{ node\+\_\+flag\+\_\+mask()}, \textbf{ sort\+\_\+node()}, and \textbf{ vty\+\_\+dump\+\_\+nodes()}.

\mbox{\label{structcmd__node_af9a510736dbeaa86950d68c360c4bdd0}} 
\index{cmd\_node@{cmd\_node}!func@{func}}
\index{func@{func}!cmd\_node@{cmd\_node}}
\doxysubsubsection{func}
{\footnotesize\ttfamily int($\ast$ cmd\+\_\+node\+::func) (struct \textbf{ vty} $\ast$)}



Node\textquotesingle{}s configuration write function. 



Referenced by \textbf{ if()}, \textbf{ install\+\_\+node()}, \textbf{ install\+\_\+node\+\_\+bare()}, and \textbf{ write\+\_\+config\+\_\+file()}.

\mbox{\label{structcmd__node_a8890df23ab9d26ef469fe8117f84437d}} 
\index{cmd\_node@{cmd\_node}!name@{name}}
\index{name@{name}!cmd\_node@{cmd\_node}}
\doxysubsubsection{name}
{\footnotesize\ttfamily char cmd\+\_\+node\+::name[64]}



Human-\/readable ID of this node. 

Should only contain alphanumeric plus \textquotesingle{}-\/\textquotesingle{} and \textquotesingle{}\+\_\+\textquotesingle{} characters (is used as XML ID for \textquotesingle{}show online-\/help\textquotesingle{}). If left NUL, this is derived from the prompt. 

Referenced by \textbf{ install\+\_\+node\+\_\+bare()}, and \textbf{ vty\+\_\+dump\+\_\+nodes()}.

\mbox{\label{structcmd__node_ae77bbdc7cfd2b2ea291d34fb36247964}} 
\index{cmd\_node@{cmd\_node}!node@{node}}
\index{node@{node}!cmd\_node@{cmd\_node}}
\doxysubsubsection{node}
{\footnotesize\ttfamily int cmd\+\_\+node\+::node}



Node index. 



Referenced by \textbf{ install\+\_\+node()}, \textbf{ install\+\_\+node\+\_\+bare()}, and \textbf{ vty\+\_\+dump\+\_\+nodes()}.

\mbox{\label{structcmd__node_ab7a4976455ba941af39b375fad313ea1}} 
\index{cmd\_node@{cmd\_node}!prompt@{prompt}}
\index{prompt@{prompt}!cmd\_node@{cmd\_node}}
\doxysubsubsection{prompt}
{\footnotesize\ttfamily const char$\ast$ cmd\+\_\+node\+::prompt}



Prompt character at vty interface. 



Referenced by \textbf{ cmd\+\_\+prompt()}, \textbf{ install\+\_\+node\+\_\+bare()}, and \textbf{ node\+\_\+name\+\_\+from\+\_\+prompt()}.

\mbox{\label{structcmd__node_a0c9b47ed1476f08358ae4e3ca5919bec}} 
\index{cmd\_node@{cmd\_node}!vtysh@{vtysh}}
\index{vtysh@{vtysh}!cmd\_node@{cmd\_node}}
\doxysubsubsection{vtysh}
{\footnotesize\ttfamily int cmd\+\_\+node\+::vtysh}



Is this node\textquotesingle{}s configuration goes to vtysh ? 



Referenced by \textbf{ if()}.



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