\doxysection{ss7\+\_\+link.\+h}
\label{ss7__link_8h_source}\index{src/ss7\_link.h@{src/ss7\_link.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/linuxlist.h>}}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00006\ \textcolor{comment}{/***********************************************************************}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ SS7\ Linksets}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ ***********************************************************************/}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{keyword}{struct\ }osmo\_ss7\_linkset;}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{enum}\ osmo\_ss7\_link\_adm\_state\ \{}
\DoxyCodeLine{00013\ \ \ \ \ \ \ \ \ OSMO\_SS7\_LS\_SHUTDOWN,}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ OSMO\_SS7\_LS\_INHIBITED,}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ OSMO\_SS7\_LS\_ENABLED,}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ \_NUM\_OSMO\_SS7\_LS}
\DoxyCodeLine{00017\ \};}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{keyword}{struct\ }osmo\_ss7\_link\ \{}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct\ }osmo\_ss7\_linkset\ *linkset;}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *name;}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *description;}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uint32\_t\ id;}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{enum}\ osmo\_ss7\_link\_adm\_state\ adm\_state;}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \}\ cfg;}
\DoxyCodeLine{00029\ \};}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \textcolor{keywordtype}{void}\ ss7\_link\_destroy(\textcolor{keyword}{struct}\ osmo\_ss7\_link\ *link);}
\DoxyCodeLine{00032\ \textcolor{keyword}{struct\ }osmo\_ss7\_link\ *}
\DoxyCodeLine{00033\ ss7\_link\_find\_or\_create(\textcolor{keyword}{struct}\ osmo\_ss7\_linkset\ *lset,\ uint32\_t\ \textcolor{keywordtype}{id});}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{keywordtype}{bool}}
\DoxyCodeLine{00036\ ss7\_link\_is\_available(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ osmo\_ss7\_link\ *link);}

\end{DoxyCode}
