\doxysection{ctrl\+\_\+cmd Struct Reference}
\label{structctrl__cmd}\index{ctrl\_cmd@{ctrl\_cmd}}


Represents a single ctrl command after parsing.  




{\ttfamily \#include $<$control\+\_\+cmd.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ctrl\+\_\+connection} $\ast$ \textbf{ ccon}
\begin{DoxyCompactList}\small\item\em connection through which the command was received \end{DoxyCompactList}\item 
enum \textbf{ ctrl\+\_\+type} \textbf{ type}
\begin{DoxyCompactList}\small\item\em command type \end{DoxyCompactList}\item 
char $\ast$ \textbf{ id}
\item 
void $\ast$ \textbf{ node}
\begin{DoxyCompactList}\small\item\em node of the specified variable \end{DoxyCompactList}\item 
char $\ast$ \textbf{ variable}
\begin{DoxyCompactList}\small\item\em name of the variable \end{DoxyCompactList}\item 
char $\ast$ \textbf{ value}
\begin{DoxyCompactList}\small\item\em value of the specified CTRL variable \end{DoxyCompactList}\item 
char $\ast$ \textbf{ reply}
\begin{DoxyCompactList}\small\item\em respnse message string \end{DoxyCompactList}\item 
struct \textbf{ ctrl\+\_\+cmd\+\_\+def} $\ast$ \textbf{ defer}
\begin{DoxyCompactList}\small\item\em state representing deferred (async) response, if any \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Represents a single ctrl command after parsing. 

\doxysubsection{Field Documentation}
\mbox{\label{structctrl__cmd_a24d327008cf70aad8ef9ce9cc290831b}} 
\index{ctrl\_cmd@{ctrl\_cmd}!ccon@{ccon}}
\index{ccon@{ccon}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{ccon}
{\footnotesize\ttfamily struct \textbf{ ctrl\+\_\+connection}$\ast$ ctrl\+\_\+cmd\+::ccon}



connection through which the command was received 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+def\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+def\+\_\+send()}, \textbf{ ctrl\+\_\+cmd\+\_\+send\+\_\+to\+\_\+all()}, \textbf{ ctrl\+\_\+cmd\+\_\+trap()}, and \textbf{ ctrl\+\_\+handle\+\_\+msg()}.

\mbox{\label{structctrl__cmd_a0c972446cd7a87cffe84914387b9330b}} 
\index{ctrl\_cmd@{ctrl\_cmd}!defer@{defer}}
\index{defer@{defer}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{defer}
{\footnotesize\ttfamily struct \textbf{ ctrl\+\_\+cmd\+\_\+def}$\ast$ ctrl\+\_\+cmd\+::defer}



state representing deferred (async) response, if any 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+def\+\_\+make()}, and \textbf{ ctrl\+\_\+handle\+\_\+msg()}.

\mbox{\label{structctrl__cmd_a732ab2240bbe7d86013d73c2414c1f0a}} 
\index{ctrl\_cmd@{ctrl\_cmd}!id@{id}}
\index{id@{id}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{id}
{\footnotesize\ttfamily char$\ast$ ctrl\+\_\+cmd\+::id}



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+cpy()}, \textbf{ ctrl\+\_\+cmd\+\_\+handle()}, \textbf{ ctrl\+\_\+cmd\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+parse3()}, \textbf{ ctrl\+\_\+cmd\+\_\+send\+\_\+trap()}, and \textbf{ ctrl\+\_\+handle\+\_\+msg()}.

\mbox{\label{structctrl__cmd_ad909727d72b92bebb3c428a3a9fc1f12}} 
\index{ctrl\_cmd@{ctrl\_cmd}!node@{node}}
\index{node@{node}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{node}
{\footnotesize\ttfamily void$\ast$ ctrl\+\_\+cmd\+::node}



node of the specified variable 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+handle()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+dump()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+parent\+\_\+name()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+state()}, and \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+timer()}.

\mbox{\label{structctrl__cmd_aea483634e22f6a5ae57bd8958d6f4f73}} 
\index{ctrl\_cmd@{ctrl\_cmd}!reply@{reply}}
\index{reply@{reply}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{reply}
{\footnotesize\ttfamily char$\ast$ ctrl\+\_\+cmd\+::reply}



respnse message string 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+cpy()}, \textbf{ ctrl\+\_\+cmd\+\_\+exec()}, \textbf{ ctrl\+\_\+cmd\+\_\+handle()}, \textbf{ ctrl\+\_\+cmd\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+parse3()}, \textbf{ ctrl\+\_\+cmd\+\_\+send\+\_\+trap()}, \textbf{ ctrl\+\_\+handle\+\_\+msg()}, \textbf{ ctrl\+\_\+rate\+\_\+ctr\+\_\+group\+\_\+handler()}, \textbf{ get\+\_\+counter()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+dump()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+parent\+\_\+name()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+state()}, \textbf{ get\+\_\+fsm\+\_\+inst\+\_\+timer()}, \textbf{ get\+\_\+rate\+\_\+ctr()}, \textbf{ get\+\_\+rate\+\_\+ctr\+\_\+group\+\_\+idx()}, \textbf{ get\+\_\+stat\+\_\+item()}, \textbf{ set\+\_\+counter()}, and \textbf{ set\+\_\+rate\+\_\+ctr()}.

\mbox{\label{structctrl__cmd_a6945f0e7005ad890c94eff6f8e7538a0}} 
\index{ctrl\_cmd@{ctrl\_cmd}!type@{type}}
\index{type@{type}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{type}
{\footnotesize\ttfamily enum \textbf{ ctrl\+\_\+type} ctrl\+\_\+cmd\+::type}



command type 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+cpy()}, \textbf{ ctrl\+\_\+cmd\+\_\+create()}, \textbf{ ctrl\+\_\+cmd\+\_\+def\+\_\+send()}, \textbf{ ctrl\+\_\+cmd\+\_\+exec()}, \textbf{ ctrl\+\_\+cmd\+\_\+exec\+\_\+from\+\_\+string()}, \textbf{ ctrl\+\_\+cmd\+\_\+handle()}, \textbf{ ctrl\+\_\+cmd\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+parse3()}, \textbf{ ctrl\+\_\+cmd\+\_\+trap()}, and \textbf{ ctrl\+\_\+handle\+\_\+msg()}.

\mbox{\label{structctrl__cmd_a3140bed63114f292dfb49cc5393e2812}} 
\index{ctrl\_cmd@{ctrl\_cmd}!value@{value}}
\index{value@{value}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{value}
{\footnotesize\ttfamily char$\ast$ ctrl\+\_\+cmd\+::value}



value of the specified CTRL variable 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+cpy()}, \textbf{ ctrl\+\_\+cmd\+\_\+exec()}, \textbf{ ctrl\+\_\+cmd\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+parse3()}, and \textbf{ ctrl\+\_\+cmd\+\_\+send\+\_\+trap()}.

\mbox{\label{structctrl__cmd_a2919ce12c1d2083f13e20ffbc4b5983a}} 
\index{ctrl\_cmd@{ctrl\_cmd}!variable@{variable}}
\index{variable@{variable}!ctrl\_cmd@{ctrl\_cmd}}
\doxysubsubsection{variable}
{\footnotesize\ttfamily char$\ast$ ctrl\+\_\+cmd\+::variable}



name of the variable 



Referenced by \textbf{ ctrl\+\_\+cmd\+\_\+cpy()}, \textbf{ ctrl\+\_\+cmd\+\_\+handle()}, \textbf{ ctrl\+\_\+cmd\+\_\+make()}, \textbf{ ctrl\+\_\+cmd\+\_\+parse3()}, \textbf{ ctrl\+\_\+cmd\+\_\+send\+\_\+trap()}, \textbf{ ctrl\+\_\+handle\+\_\+msg()}, \textbf{ get\+\_\+counter()}, \textbf{ get\+\_\+rate\+\_\+ctr()}, and \textbf{ get\+\_\+stat\+\_\+item()}.



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