\doxysection{include/osmocom/vty/telnet\+\_\+interface.h File Reference}
\label{telnet__interface_8h}\index{include/osmocom/vty/telnet\_interface.h@{include/osmocom/vty/telnet\_interface.h}}


minimalistic telnet/network interface it might turn into a wire interface  


{\ttfamily \#include $<$osmocom/core/defs.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/select.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/vty.\+h$>$}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ telnet\+\_\+connection}
\begin{DoxyCompactList}\small\item\em A telnet connection. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ telnet\+\_\+init\+\_\+default} (void $\ast$tall\+\_\+ctx, void $\ast$priv, int default\+\_\+port)
\begin{DoxyCompactList}\small\item\em Initializes telnet based VTY interface using the configured bind addr/port. \end{DoxyCompactList}\item 
int \textbf{ telnet\+\_\+init} (void $\ast$tall\+\_\+ctx, void $\ast$priv, int port) \textbf{ OSMO\+\_\+\+DEPRECATED}(\char`\"{}This function ignores dynamic port configuration. Use \textbf{ telnet\+\_\+init\+\_\+default}() \textbf{ instead}\char`\"{})
\begin{DoxyCompactList}\small\item\em Initialize telnet based VTY interface listening to 127.\+0.\+0.\+1. \end{DoxyCompactList}\item 
int \textbf{ telnet\+\_\+init\+\_\+dynif} (void $\ast$tall\+\_\+ctx, void $\ast$priv, const char $\ast$ip, int port) \textbf{ OSMO\+\_\+\+DEPRECATED}(\char`\"{}This function ignores dynamic port configuration. Use \textbf{ telnet\+\_\+init\+\_\+default}() \textbf{ instead}\char`\"{})
\begin{DoxyCompactList}\small\item\em Initialize telnet based VTY interface. \end{DoxyCompactList}\item 
void \textbf{ telnet\+\_\+exit} (void)
\begin{DoxyCompactList}\small\item\em Close all telnet connections and release the telnet socket. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
minimalistic telnet/network interface it might turn into a wire interface 

