\doxysection{osmo\+\_\+tdef\+\_\+state\+\_\+timeout Struct Reference}
\label{structosmo__tdef__state__timeout}\index{osmo\_tdef\_state\_timeout@{osmo\_tdef\_state\_timeout}}


Using \doxyref{osmo\+\_\+tdef}{p.}{structosmo__tdef} for \doxyref{osmo\+\_\+fsm\+\_\+inst}{p.}{structosmo__fsm__inst}\+: array entry for a mapping of state numbers to timeout definitions.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int \textbf{ T}
\begin{DoxyCompactList}\small\item\em Timer number to match struct \doxyref{osmo\+\_\+tdef.\+T}{p.}{structosmo__tdef_aa8fdd929b165511b9c68b5a8a73ea420}, and to pass to \doxyref{osmo\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg()}{p.}{group__fsm_gac2bc3009053763ca99356e824529a2e4}. \end{DoxyCompactList}\item 
bool \textbf{ keep\+\_\+timer}
\begin{DoxyCompactList}\small\item\em If true, call \doxyref{osmo\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg\+\_\+keep\+\_\+timer()}{p.}{group__fsm_ga605785659c0482d32c83748f88904ace}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Using \doxyref{osmo\+\_\+tdef}{p.}{structosmo__tdef} for \doxyref{osmo\+\_\+fsm\+\_\+inst}{p.}{structosmo__fsm__inst}\+: array entry for a mapping of state numbers to timeout definitions. 

For a usage example, see \doxyref{osmo\+\_\+tdef\+\_\+get\+\_\+state\+\_\+timeout()}{p.}{group__Tdef_ga5a7532bad13a88526390b8f3c6db3374} and test\+\_\+tdef\+\_\+state\+\_\+timeout() in tdef\+\_\+test.\+c. 

\doxysubsection{Field Documentation}
\mbox{\label{structosmo__tdef__state__timeout_a8a9095a9c9a8a7d9366a1c5349f68c80}} 
\index{osmo\_tdef\_state\_timeout@{osmo\_tdef\_state\_timeout}!keep\_timer@{keep\_timer}}
\index{keep\_timer@{keep\_timer}!osmo\_tdef\_state\_timeout@{osmo\_tdef\_state\_timeout}}
\doxysubsubsection{keep\_timer}
{\footnotesize\ttfamily bool osmo\+\_\+tdef\+\_\+state\+\_\+timeout\+::keep\+\_\+timer}



If true, call \doxyref{osmo\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg\+\_\+keep\+\_\+timer()}{p.}{group__fsm_ga605785659c0482d32c83748f88904ace}. 

If T == 0, keep previous T number, otherwise also set fi-\/$>$T. 

Referenced by \textbf{ \+\_\+osmo\+\_\+tdef\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg()}, and \textbf{ osmo\+\_\+tdef\+\_\+get\+\_\+state\+\_\+timeout()}.

\mbox{\label{structosmo__tdef__state__timeout_a8ba74f7cd70582e4f9945203c0ff49f8}} 
\index{osmo\_tdef\_state\_timeout@{osmo\_tdef\_state\_timeout}!T@{T}}
\index{T@{T}!osmo\_tdef\_state\_timeout@{osmo\_tdef\_state\_timeout}}
\doxysubsubsection{T}
{\footnotesize\ttfamily int osmo\+\_\+tdef\+\_\+state\+\_\+timeout\+::T}



Timer number to match struct \doxyref{osmo\+\_\+tdef.\+T}{p.}{structosmo__tdef_aa8fdd929b165511b9c68b5a8a73ea420}, and to pass to \doxyref{osmo\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg()}{p.}{group__fsm_gac2bc3009053763ca99356e824529a2e4}. 

Positive values for T are considered to be 3GPP spec compliant and appear in logging and VTY as \char`\"{}\+T1234\char`\"{}, while negative values are considered to be Osmocom specific timers, represented in logging and VTY as \char`\"{}\+X1234\char`\"{}. 

Referenced by \textbf{ \+\_\+osmo\+\_\+tdef\+\_\+fsm\+\_\+inst\+\_\+state\+\_\+chg()}, and \textbf{ osmo\+\_\+tdef\+\_\+get\+\_\+state\+\_\+timeout()}.



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