\doxysection{include/osmocom/gsm/mncc.h File Reference}
\label{mncc_8h}\index{include/osmocom/gsm/mncc.h@{include/osmocom/gsm/mncc.h}}
{\ttfamily \#include $<$osmocom/gsm/protocol/gsm\+\_\+04\+\_\+08.\+h$>$}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+bearer\+\_\+cap}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+number}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+cause}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+useruser}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+progress}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+facility}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+ssversion}
\item 
struct \textbf{ gsm\+\_\+mncc\+\_\+cccap}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ GSM\+\_\+\+MAX\+\_\+\+FACILITY}~128
\item 
\#define \textbf{ GSM\+\_\+\+MAX\+\_\+\+SSVERSION}~128
\item 
\#define \textbf{ GSM\+\_\+\+MAX\+\_\+\+USERUSER}~128
\item 
\#define \textbf{ osmo\+\_\+mncc\+\_\+log}(ss,  \textbf{ level},  prefix,  \textbf{ msg},  \textbf{ len})~ \textbf{ \+\_\+osmo\+\_\+mncc\+\_\+log}(ss, \textbf{ level}, \+\_\+\+\_\+\+FILE\+\_\+\+\_\+, \+\_\+\+\_\+\+LINE\+\_\+\+\_\+, prefix, \textbf{ msg}, \textbf{ len});
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+SPEECH} = 0
, \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+UNR\+\_\+\+DIG} = 1
, \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+AUDIO} = 2
, \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+FAX\+\_\+\+G3} = 3
, \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+OTHER\+\_\+\+ITC} = 5
, \newline
\textbf{ GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+RESERVED} = 7
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ msgb} $\ast$ \textbf{ osmo\+\_\+mncc\+\_\+stringify} (const uint8\+\_\+t $\ast$\textbf{ msg}, unsigned int \textbf{ len})
\item 
void \textbf{ \+\_\+osmo\+\_\+mncc\+\_\+log} (int \textbf{ subsys}, int \textbf{ level}, const char $\ast$\textbf{ file}, int line, const char $\ast$prefix, const uint8\+\_\+t $\ast$\textbf{ msg}, unsigned int \textbf{ len})
\item 
static const char $\ast$ \textbf{ osmo\+\_\+mncc\+\_\+name} (uint32\+\_\+t \textbf{ msg\+\_\+type})
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct \textbf{ value\+\_\+string} \textbf{ osmo\+\_\+mncc\+\_\+names} [$\,$]
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\label{mncc_8h_aefcddfff8a26176a6be5b41fcc5febb8}} 
\index{mncc.h@{mncc.h}!GSM\_MAX\_FACILITY@{GSM\_MAX\_FACILITY}}
\index{GSM\_MAX\_FACILITY@{GSM\_MAX\_FACILITY}!mncc.h@{mncc.h}}
\doxysubsubsection{GSM\_MAX\_FACILITY}
{\footnotesize\ttfamily \#define GSM\+\_\+\+MAX\+\_\+\+FACILITY~128}

\mbox{\label{mncc_8h_a3d8c53968806d5b21cedc865522d53ab}} 
\index{mncc.h@{mncc.h}!GSM\_MAX\_SSVERSION@{GSM\_MAX\_SSVERSION}}
\index{GSM\_MAX\_SSVERSION@{GSM\_MAX\_SSVERSION}!mncc.h@{mncc.h}}
\doxysubsubsection{GSM\_MAX\_SSVERSION}
{\footnotesize\ttfamily \#define GSM\+\_\+\+MAX\+\_\+\+SSVERSION~128}

\mbox{\label{mncc_8h_a0fce381208aef9f0ee4cdc9f570fe844}} 
\index{mncc.h@{mncc.h}!GSM\_MAX\_USERUSER@{GSM\_MAX\_USERUSER}}
\index{GSM\_MAX\_USERUSER@{GSM\_MAX\_USERUSER}!mncc.h@{mncc.h}}
\doxysubsubsection{GSM\_MAX\_USERUSER}
{\footnotesize\ttfamily \#define GSM\+\_\+\+MAX\+\_\+\+USERUSER~128}

\mbox{\label{mncc_8h_afddaec7aad6af9e5184b8f3365191772}} 
\index{mncc.h@{mncc.h}!osmo\_mncc\_log@{osmo\_mncc\_log}}
\index{osmo\_mncc\_log@{osmo\_mncc\_log}!mncc.h@{mncc.h}}
\doxysubsubsection{osmo\_mncc\_log}
{\footnotesize\ttfamily \#define osmo\+\_\+mncc\+\_\+log(\begin{DoxyParamCaption}\item[{}]{ss,  }\item[{}]{\textbf{ level},  }\item[{}]{prefix,  }\item[{}]{\textbf{ msg},  }\item[{}]{\textbf{ len} }\end{DoxyParamCaption})~ \textbf{ \+\_\+osmo\+\_\+mncc\+\_\+log}(ss, \textbf{ level}, \+\_\+\+\_\+\+FILE\+\_\+\+\_\+, \+\_\+\+\_\+\+LINE\+\_\+\+\_\+, prefix, \textbf{ msg}, \textbf{ len});}



\doxysubsection{Enumeration Type Documentation}
\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18}} 
\doxysubsubsection{anonymous enum}
{\footnotesize\ttfamily anonymous enum}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_SPEECH@{GSM\_MNCC\_BCAP\_SPEECH}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_SPEECH@{GSM\_MNCC\_BCAP\_SPEECH}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18a61edfedefb97a4fbaf4324d8633e9ca5}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+SPEECH&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_UNR\_DIG@{GSM\_MNCC\_BCAP\_UNR\_DIG}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_UNR\_DIG@{GSM\_MNCC\_BCAP\_UNR\_DIG}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18abc2ab6b800ee9f3455760466bdf61185}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+UNR\+\_\+\+DIG&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_AUDIO@{GSM\_MNCC\_BCAP\_AUDIO}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_AUDIO@{GSM\_MNCC\_BCAP\_AUDIO}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18a08001de4cda0f3785a4194274be192de}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+AUDIO&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_FAX\_G3@{GSM\_MNCC\_BCAP\_FAX\_G3}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_FAX\_G3@{GSM\_MNCC\_BCAP\_FAX\_G3}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18a8d264133cb3dd442994680041f52609e}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+FAX\+\_\+\+G3&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_OTHER\_ITC@{GSM\_MNCC\_BCAP\_OTHER\_ITC}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_OTHER\_ITC@{GSM\_MNCC\_BCAP\_OTHER\_ITC}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18a1a04b66f5199d1663502a5e3920ed367}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+OTHER\+\_\+\+ITC&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{GSM\_MNCC\_BCAP\_RESERVED@{GSM\_MNCC\_BCAP\_RESERVED}!mncc.h@{mncc.h}}\index{mncc.h@{mncc.h}!GSM\_MNCC\_BCAP\_RESERVED@{GSM\_MNCC\_BCAP\_RESERVED}}}\mbox{\label{mncc_8h_ae4d5251432e1a9e6803c0240cc492e18ab0f9089e756ef0724252388dc4bed9ce}} 
GSM\+\_\+\+MNCC\+\_\+\+BCAP\+\_\+\+RESERVED&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\label{mncc_8h_aeb5aa32ad4201368af31d2486cb8d466}} 
\index{mncc.h@{mncc.h}!\_osmo\_mncc\_log@{\_osmo\_mncc\_log}}
\index{\_osmo\_mncc\_log@{\_osmo\_mncc\_log}!mncc.h@{mncc.h}}
\doxysubsubsection{\_osmo\_mncc\_log()}
{\footnotesize\ttfamily void \+\_\+osmo\+\_\+mncc\+\_\+log (\begin{DoxyParamCaption}\item[{int}]{subsys,  }\item[{int}]{level,  }\item[{const char $\ast$}]{file,  }\item[{int}]{line,  }\item[{const char $\ast$}]{prefix,  }\item[{const uint8\+\_\+t $\ast$}]{msg,  }\item[{unsigned int}]{len }\end{DoxyParamCaption})}

\mbox{\label{mncc_8h_a09374fa789d37a12f368fa5a17d0301f}} 
\index{mncc.h@{mncc.h}!osmo\_mncc\_name@{osmo\_mncc\_name}}
\index{osmo\_mncc\_name@{osmo\_mncc\_name}!mncc.h@{mncc.h}}
\doxysubsubsection{osmo\_mncc\_name()}
{\footnotesize\ttfamily static const char $\ast$ osmo\+\_\+mncc\+\_\+name (\begin{DoxyParamCaption}\item[{uint32\+\_\+t}]{msg\+\_\+type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



References \textbf{ get\+\_\+value\+\_\+string()}, \textbf{ msg\+\_\+type}, and \textbf{ osmo\+\_\+mncc\+\_\+names}.

\mbox{\label{mncc_8h_a9fa0ccca6f239c233b9194b2107f1ba2}} 
\index{mncc.h@{mncc.h}!osmo\_mncc\_stringify@{osmo\_mncc\_stringify}}
\index{osmo\_mncc\_stringify@{osmo\_mncc\_stringify}!mncc.h@{mncc.h}}
\doxysubsubsection{osmo\_mncc\_stringify()}
{\footnotesize\ttfamily struct \textbf{ msgb} $\ast$ osmo\+\_\+mncc\+\_\+stringify (\begin{DoxyParamCaption}\item[{const uint8\+\_\+t $\ast$}]{msg,  }\item[{unsigned int}]{len }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\label{mncc_8h_aabfac001353cb1c1638495e497238aa1}} 
\index{mncc.h@{mncc.h}!osmo\_mncc\_names@{osmo\_mncc\_names}}
\index{osmo\_mncc\_names@{osmo\_mncc\_names}!mncc.h@{mncc.h}}
\doxysubsubsection{osmo\_mncc\_names}
{\footnotesize\ttfamily const struct \textbf{ value\+\_\+string} osmo\+\_\+mncc\+\_\+names[$\,$]\hspace{0.3cm}{\ttfamily [extern]}}



Referenced by \textbf{ osmo\+\_\+mncc\+\_\+name()}.

