\doxysection{ss7\+\_\+user.\+h}
\label{ss7__user_8h_source}\index{src/ss7\_user.h@{src/ss7\_user.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <stdint.h>}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <osmocom/core/prim.h>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <osmocom/sigtran/mtp\_sap.h>}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{comment}{/***********************************************************************}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ SS7\ Linksets}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ ***********************************************************************/}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{struct\ }osmo\_ss7\_instance;}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{struct\ }osmo\_ss7\_user\ \{}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ pointer\ back\ to\ SS7\ instance\ */}}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct\ }osmo\_ss7\_instance\ *inst;}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ name\ of\ the\ user\ */}}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *name;}
\DoxyCodeLine{00018\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ primitive\ call-\/back\ for\ incoming\ MTP\ primitives\ */}}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ osmo\_prim\_cb\ prim\_cb;}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ private\ data\ */}}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *priv;}
\DoxyCodeLine{00022\ \};}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{keywordtype}{int}\ ss7\_mtp\_to\_user(\textcolor{keyword}{struct}\ osmo\_ss7\_instance\ *inst,\ \textcolor{keyword}{struct}\ osmo\_mtp\_prim\ *omp);}

\end{DoxyCode}
