\doxysection{osim\+\_\+card\+\_\+hdl Struct Reference}
\label{structosim__card__hdl}\index{osim\_card\_hdl@{osim\_card\_hdl}}


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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ llist\+\_\+head} \textbf{ list}
\begin{DoxyCompactList}\small\item\em member in global list of cards \end{DoxyCompactList}\item 
struct \textbf{ osim\+\_\+reader\+\_\+hdl} $\ast$ \textbf{ reader}
\begin{DoxyCompactList}\small\item\em reader through which card is accessed \end{DoxyCompactList}\item 
struct \textbf{ osim\+\_\+card\+\_\+profile} $\ast$ \textbf{ prof}
\begin{DoxyCompactList}\small\item\em card profile \end{DoxyCompactList}\item 
enum \textbf{ osim\+\_\+proto} \textbf{ proto}
\begin{DoxyCompactList}\small\item\em card protocol \end{DoxyCompactList}\item 
struct \textbf{ llist\+\_\+head} \textbf{ channels}
\begin{DoxyCompactList}\small\item\em list of channels for this card \end{DoxyCompactList}\item 
struct \textbf{ llist\+\_\+head} \textbf{ apps}
\begin{DoxyCompactList}\small\item\em list of applications found on card \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ atr} [\textbf{ OSIM\+\_\+\+MAX\+\_\+\+ATR\+\_\+\+LEN}]
\begin{DoxyCompactList}\small\item\em ATR (Answer To Reset) of the card. \end{DoxyCompactList}\item 
unsigned int \textbf{ atr\+\_\+len}
\end{DoxyCompactItemize}


\doxysubsection{Field Documentation}
\mbox{\label{structosim__card__hdl_ae8cf807cadc7c59c61cf996b58210d82}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!apps@{apps}}
\index{apps@{apps}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{apps}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} osim\+\_\+card\+\_\+hdl\+::apps}



list of applications found on card 



Referenced by \textbf{ osim\+\_\+card\+\_\+hdl\+\_\+add\+\_\+app()}, \textbf{ osim\+\_\+card\+\_\+hdl\+\_\+find\+\_\+app()}, and \textbf{ pcsc\+\_\+card\+\_\+open()}.

\mbox{\label{structosim__card__hdl_ac34092ccb168058c5b9cf5c1244e65da}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!atr@{atr}}
\index{atr@{atr}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{atr}
{\footnotesize\ttfamily uint8\+\_\+t osim\+\_\+card\+\_\+hdl\+::atr[\textbf{ OSIM\+\_\+\+MAX\+\_\+\+ATR\+\_\+\+LEN}]}



ATR (Answer To Reset) of the card. 



Referenced by \textbf{ pcsc\+\_\+get\+\_\+atr()}.

\mbox{\label{structosim__card__hdl_a0577908e0c4fd1b056b099ce9572d9f8}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!atr\_len@{atr\_len}}
\index{atr\_len@{atr\_len}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{atr\_len}
{\footnotesize\ttfamily unsigned int osim\+\_\+card\+\_\+hdl\+::atr\+\_\+len}



Referenced by \textbf{ pcsc\+\_\+get\+\_\+atr()}.

\mbox{\label{structosim__card__hdl_ac1d9cf4cd0cfe9d1b1c3ddec1308c0df}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!channels@{channels}}
\index{channels@{channels}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{channels}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} osim\+\_\+card\+\_\+hdl\+::channels}



list of channels for this card 



Referenced by \textbf{ pcsc\+\_\+card\+\_\+open()}.

\mbox{\label{structosim__card__hdl_a76da5a3e08ac148541881a6dc87e7833}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!list@{list}}
\index{list@{list}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{list}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} osim\+\_\+card\+\_\+hdl\+::list}



member in global list of cards 

\mbox{\label{structosim__card__hdl_a3c26e4b867f323693f1a4be643823c51}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!prof@{prof}}
\index{prof@{prof}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{prof}
{\footnotesize\ttfamily struct \textbf{ osim\+\_\+card\+\_\+profile}$\ast$ osim\+\_\+card\+\_\+hdl\+::prof}



card profile 



Referenced by \textbf{ osim\+\_\+print\+\_\+sw\+\_\+buf()}, and \textbf{ osim\+\_\+sw\+\_\+class()}.

\mbox{\label{structosim__card__hdl_ab615f74a5c4b28d4f98ed4057833fe4b}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!proto@{proto}}
\index{proto@{proto}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{proto}
{\footnotesize\ttfamily enum \textbf{ osim\+\_\+proto} osim\+\_\+card\+\_\+hdl\+::proto}



card protocol 



Referenced by \textbf{ osim\+\_\+card\+\_\+open()}, and \textbf{ osim\+\_\+transceive\+\_\+apdu()}.

\mbox{\label{structosim__card__hdl_a5f06af3dace7433516b0a114301e5a98}} 
\index{osim\_card\_hdl@{osim\_card\_hdl}!reader@{reader}}
\index{reader@{reader}!osim\_card\_hdl@{osim\_card\_hdl}}
\doxysubsubsection{reader}
{\footnotesize\ttfamily struct \textbf{ osim\+\_\+reader\+\_\+hdl}$\ast$ osim\+\_\+card\+\_\+hdl\+::reader}



reader through which card is accessed 



Referenced by \textbf{ osim\+\_\+card\+\_\+close()}, \textbf{ osim\+\_\+card\+\_\+reset()}, \textbf{ pcsc\+\_\+card\+\_\+close()}, \textbf{ pcsc\+\_\+card\+\_\+open()}, \textbf{ pcsc\+\_\+card\+\_\+reset()}, \textbf{ pcsc\+\_\+get\+\_\+atr()}, and \textbf{ transceive\+\_\+apdu\+\_\+t0()}.



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