\doxysection{osim\+\_\+file\+\_\+ops Struct Reference}
\label{structosim__file__ops}\index{osim\_file\_ops@{osim\_file\_ops}}


Operations for a given File.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int($\ast$ \textbf{ parse} )(struct \textbf{ osim\+\_\+decoded\+\_\+data} $\ast$dd, const struct \textbf{ osim\+\_\+file\+\_\+desc} $\ast$\textbf{ desc}, int \textbf{ len}, uint8\+\_\+t $\ast$\textbf{ data})
\begin{DoxyCompactList}\small\item\em Parse binary file data into \doxyref{osim\+\_\+decoded\+\_\+data}{p.}{structosim__decoded__data}. \end{DoxyCompactList}\item 
struct \textbf{ msgb} $\ast$($\ast$ \textbf{ encode} )(const struct \textbf{ osim\+\_\+file\+\_\+desc} $\ast$\textbf{ desc}, const struct \textbf{ osim\+\_\+decoded\+\_\+data} $\ast$decoded)
\begin{DoxyCompactList}\small\item\em Encode \doxyref{osim\+\_\+decoded\+\_\+data}{p.}{structosim__decoded__data} into binary file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Operations for a given File. 

\doxysubsection{Field Documentation}
\mbox{\label{structosim__file__ops_a6172d6fa42232c45130af53c8745c914}} 
\index{osim\_file\_ops@{osim\_file\_ops}!encode@{encode}}
\index{encode@{encode}!osim\_file\_ops@{osim\_file\_ops}}
\doxysubsubsection{encode}
{\footnotesize\ttfamily struct \textbf{ msgb} $\ast$($\ast$ osim\+\_\+file\+\_\+ops\+::encode) (const struct \textbf{ osim\+\_\+file\+\_\+desc} $\ast$\textbf{ desc}, const struct \textbf{ osim\+\_\+decoded\+\_\+data} $\ast$decoded)}



Encode \doxyref{osim\+\_\+decoded\+\_\+data}{p.}{structosim__decoded__data} into binary file. 

\mbox{\label{structosim__file__ops_a03fc0a0d72eb8909aae2d95e504f50ac}} 
\index{osim\_file\_ops@{osim\_file\_ops}!parse@{parse}}
\index{parse@{parse}!osim\_file\_ops@{osim\_file\_ops}}
\doxysubsubsection{parse}
{\footnotesize\ttfamily int($\ast$ osim\+\_\+file\+\_\+ops\+::parse) (struct \textbf{ osim\+\_\+decoded\+\_\+data} $\ast$dd, const struct \textbf{ osim\+\_\+file\+\_\+desc} $\ast$\textbf{ desc}, int \textbf{ len}, uint8\+\_\+t $\ast$\textbf{ data})}



Parse binary file data into \doxyref{osim\+\_\+decoded\+\_\+data}{p.}{structosim__decoded__data}. 



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