\doxysection{osim\+\_\+decoded\+\_\+element Struct Reference}
\label{structosim__decoded__element}\index{osim\_decoded\_element@{osim\_decoded\_element}}


A single decoded element inside a file.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ llist\+\_\+head} \textbf{ list}
\item 
enum \textbf{ osim\+\_\+element\+\_\+type} \textbf{ type}
\item 
enum \textbf{ osim\+\_\+element\+\_\+repr} \textbf{ representation}
\item 
const char $\ast$ \textbf{ name}
\item 
unsigned int \textbf{ length}
\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
union \{\\
\>uint8\_t \textbf{ u8}\\
\>uint16\_t \textbf{ u16}\\
\>uint32\_t \textbf{ u32}\\
\>uint8\_t $\ast$ \textbf{ buf}\\
\>struct \textbf{ llist\_head} \textbf{ siblings}\\
\>\>{\em A list of sibling decoded\_items. }\\
\} \textbf{ u}\\

\end{tabbing}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A single decoded element inside a file. 

\doxysubsection{Field Documentation}
\mbox{\label{structosim__decoded__element_a6424433c6e9c59845a5ba75e54c6dd90}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!buf@{buf}}
\index{buf@{buf}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{buf}
{\footnotesize\ttfamily uint8\+\_\+t$\ast$ osim\+\_\+decoded\+\_\+element\+::buf}



Referenced by \textbf{ default\+\_\+decode()}, \textbf{ elp\+\_\+decode()}, \textbf{ gsm\+\_\+imsi\+\_\+decode()}, \textbf{ gsm\+\_\+kc\+\_\+decode()}, and \textbf{ iccid\+\_\+decode()}.

\mbox{\label{structosim__decoded__element_a18fc02f0fccacfc68058758982a83b65}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!length@{length}}
\index{length@{length}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{length}
{\footnotesize\ttfamily unsigned int osim\+\_\+decoded\+\_\+element\+::length}



Referenced by \textbf{ gsm\+\_\+imsi\+\_\+decode()}, and \textbf{ iccid\+\_\+decode()}.

\mbox{\label{structosim__decoded__element_af740b55e13d44f4f30429b88db0d994d}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!list@{list}}
\index{list@{list}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{list}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} osim\+\_\+decoded\+\_\+element\+::list}



Referenced by \textbf{ element\+\_\+alloc()}, and \textbf{ element\+\_\+alloc\+\_\+sub()}.

\mbox{\label{structosim__decoded__element_ac8b303cba181d505b12c014c1abe4a1b}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!name@{name}}
\index{name@{name}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{name}
{\footnotesize\ttfamily const char$\ast$ osim\+\_\+decoded\+\_\+element\+::name}



Referenced by \textbf{ \+\_\+\+\_\+element\+\_\+alloc()}, \textbf{ element\+\_\+alloc()}, and \textbf{ element\+\_\+alloc\+\_\+sub()}.

\mbox{\label{structosim__decoded__element_a717a960267a3f4e8edbd8cc23912ded7}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!representation@{representation}}
\index{representation@{representation}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{representation}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+element\+\_\+repr} osim\+\_\+decoded\+\_\+element\+::representation}



Referenced by \textbf{ \+\_\+\+\_\+element\+\_\+alloc()}.

\mbox{\label{structosim__decoded__element_abd1e7f8e017631b7ea66fa9eed222ad4}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!siblings@{siblings}}
\index{siblings@{siblings}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{siblings}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} osim\+\_\+decoded\+\_\+element\+::siblings}



A list of sibling decoded\+\_\+items. 



Referenced by \textbf{ \+\_\+\+\_\+element\+\_\+alloc()}, and \textbf{ element\+\_\+alloc\+\_\+sub()}.

\mbox{\label{structosim__decoded__element_aa5db1cbc456ac582bf296897d0c1c892}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!type@{type}}
\index{type@{type}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{type}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+element\+\_\+type} osim\+\_\+decoded\+\_\+element\+::type}



Referenced by \textbf{ \+\_\+\+\_\+element\+\_\+alloc()}, \textbf{ element\+\_\+alloc()}, and \textbf{ element\+\_\+alloc\+\_\+sub()}.

\mbox{\label{structosim__decoded__element_a6959608d1b66bdb777ff15df853f4d98}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!u@{u}}
\index{u@{u}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{}
{\footnotesize\ttfamily union  \{ ... \}  osim\+\_\+decoded\+\_\+element\+::u}



Referenced by \textbf{ \+\_\+\+\_\+element\+\_\+alloc()}, \textbf{ default\+\_\+decode()}, \textbf{ element\+\_\+alloc\+\_\+sub()}, \textbf{ elp\+\_\+decode()}, \textbf{ gsm\+\_\+hpplmn\+\_\+decode()}, \textbf{ gsm\+\_\+imsi\+\_\+decode()}, \textbf{ gsm\+\_\+kc\+\_\+decode()}, \textbf{ gsm\+\_\+lp\+\_\+decode()}, \textbf{ gsm\+\_\+plmnsel\+\_\+decode()}, and \textbf{ iccid\+\_\+decode()}.

\mbox{\label{structosim__decoded__element_a961893b6d086cbad75c80da72525c559}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!u16@{u16}}
\index{u16@{u16}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{u16}
{\footnotesize\ttfamily uint16\+\_\+t osim\+\_\+decoded\+\_\+element\+::u16}



Referenced by \textbf{ gsm\+\_\+plmnsel\+\_\+decode()}.

\mbox{\label{structosim__decoded__element_a99e3268c2adbdedf4f6cdd1bfc66f6c3}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!u32@{u32}}
\index{u32@{u32}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{u32}
{\footnotesize\ttfamily uint32\+\_\+t osim\+\_\+decoded\+\_\+element\+::u32}

\mbox{\label{structosim__decoded__element_a864a784961816d926c5d6f9f464d8421}} 
\index{osim\_decoded\_element@{osim\_decoded\_element}!u8@{u8}}
\index{u8@{u8}!osim\_decoded\_element@{osim\_decoded\_element}}
\doxysubsubsection{u8}
{\footnotesize\ttfamily uint8\+\_\+t osim\+\_\+decoded\+\_\+element\+::u8}



Referenced by \textbf{ gsm\+\_\+hpplmn\+\_\+decode()}, \textbf{ gsm\+\_\+kc\+\_\+decode()}, and \textbf{ gsm\+\_\+lp\+\_\+decode()}.



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