\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{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 }
\DoxyCodeLine{3 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include <osmocom/core/linuxlist.h>}}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 \textcolor{comment}{/***********************************************************************}}
\DoxyCodeLine{7 \textcolor{comment}{ * SS7 Linksets}}
\DoxyCodeLine{8 \textcolor{comment}{ ***********************************************************************/}}
\DoxyCodeLine{9 }
\DoxyCodeLine{10 \textcolor{keyword}{struct }osmo\_ss7\_linkset;}
\DoxyCodeLine{11 }
\DoxyCodeLine{12 \textcolor{keyword}{enum} osmo\_ss7\_link\_adm\_state \{}
\DoxyCodeLine{13         OSMO\_SS7\_LS\_SHUTDOWN,}
\DoxyCodeLine{14         OSMO\_SS7\_LS\_INHIBITED,}
\DoxyCodeLine{15         OSMO\_SS7\_LS\_ENABLED,}
\DoxyCodeLine{16         \_NUM\_OSMO\_SS7\_LS}
\DoxyCodeLine{17 \};}
\DoxyCodeLine{18 }
\DoxyCodeLine{19 \textcolor{keyword}{struct }osmo\_ss7\_link \{}
\DoxyCodeLine{21         \textcolor{keyword}{struct }osmo\_ss7\_linkset *linkset;}
\DoxyCodeLine{22         \textcolor{keyword}{struct }\{}
\DoxyCodeLine{23                 \textcolor{keywordtype}{char} *name;}
\DoxyCodeLine{24                 \textcolor{keywordtype}{char} *description;}
\DoxyCodeLine{25                 uint32\_t id;}
\DoxyCodeLine{26 }
\DoxyCodeLine{27                 \textcolor{keyword}{enum} osmo\_ss7\_link\_adm\_state adm\_state;}
\DoxyCodeLine{28         \} cfg;}
\DoxyCodeLine{29 \};}
\DoxyCodeLine{30 }
\DoxyCodeLine{31 \textcolor{keywordtype}{void} ss7\_link\_destroy(\textcolor{keyword}{struct} osmo\_ss7\_link *link);}
\DoxyCodeLine{32 \textcolor{keyword}{struct }osmo\_ss7\_link *}
\DoxyCodeLine{33 ss7\_link\_find\_or\_create(\textcolor{keyword}{struct} osmo\_ss7\_linkset *lset, uint32\_t \textcolor{keywordtype}{id});}
\DoxyCodeLine{34 }
\DoxyCodeLine{35 \textcolor{keywordtype}{bool}}
\DoxyCodeLine{36 ss7\_link\_is\_available(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_ss7\_link *link);}

\end{DoxyCode}
