\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{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 }
\DoxyCodeLine{3 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include <osmocom/core/prim.h>}}
\DoxyCodeLine{5 \textcolor{preprocessor}{\#include <osmocom/sigtran/mtp\_sap.h>}}
\DoxyCodeLine{6 }
\DoxyCodeLine{7 \textcolor{comment}{/***********************************************************************}}
\DoxyCodeLine{8 \textcolor{comment}{ * SS7 Linksets}}
\DoxyCodeLine{9 \textcolor{comment}{ ***********************************************************************/}}
\DoxyCodeLine{10 }
\DoxyCodeLine{11 \textcolor{keyword}{struct }osmo\_ss7\_instance;}
\DoxyCodeLine{12 }
\DoxyCodeLine{13 \textcolor{keyword}{struct }osmo\_ss7\_user \{}
\DoxyCodeLine{14         \textcolor{comment}{/* pointer back to SS7 instance */}}
\DoxyCodeLine{15         \textcolor{keyword}{struct }osmo\_ss7\_instance *inst;}
\DoxyCodeLine{16         \textcolor{comment}{/* name of the user */}}
\DoxyCodeLine{17         \textcolor{keyword}{const} \textcolor{keywordtype}{char} *name;}
\DoxyCodeLine{18         \textcolor{comment}{/* primitive call-\/back for incoming MTP primitives */}}
\DoxyCodeLine{19         osmo\_prim\_cb prim\_cb;}
\DoxyCodeLine{20         \textcolor{comment}{/* private data */}}
\DoxyCodeLine{21         \textcolor{keywordtype}{void} *priv;}
\DoxyCodeLine{22 \};}
\DoxyCodeLine{23 }
\DoxyCodeLine{24 \textcolor{keywordtype}{int} ss7\_mtp\_to\_user(\textcolor{keyword}{struct} osmo\_ss7\_instance *inst, \textcolor{keyword}{struct} osmo\_mtp\_prim *omp);}

\end{DoxyCode}
