\doxysection{src/ss7\+\_\+link.h File Reference} \label{ss7__link_8h}\index{src/ss7\_link.h@{src/ss7\_link.h}} {\ttfamily \#include $<$stdint.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/linuxlist.\+h$>$}\newline \doxysubsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \textbf{ osmo\+\_\+ss7\+\_\+link} \end{DoxyCompactItemize} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \textbf{ osmo\+\_\+ss7\+\_\+link\+\_\+adm\+\_\+state} \{ \textbf{ OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+SHUTDOWN} , \textbf{ OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+INHIBITED} , \textbf{ OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+ENABLED} , \textbf{ \+\_\+\+NUM\+\_\+\+OSMO\+\_\+\+SS7\+\_\+\+LS} \} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item void \textbf{ ss7\+\_\+link\+\_\+destroy} (struct \textbf{ osmo\+\_\+ss7\+\_\+link} $\ast$link) \begin{DoxyCompactList}\small\item\em Destroy SS7 Link. \end{DoxyCompactList}\item struct \textbf{ osmo\+\_\+ss7\+\_\+link} $\ast$ \textbf{ ss7\+\_\+link\+\_\+find\+\_\+or\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$lset, uint32\+\_\+t id) \begin{DoxyCompactList}\small\item\em Find or create SS7 Link with given ID in given Linkset. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Enumeration Type Documentation} \mbox{\label{ss7__link_8h_a6c8b72b42f0a6ea4fd7c77a8b9bf7a9f}} \index{ss7\_link.h@{ss7\_link.h}!osmo\_ss7\_link\_adm\_state@{osmo\_ss7\_link\_adm\_state}} \index{osmo\_ss7\_link\_adm\_state@{osmo\_ss7\_link\_adm\_state}!ss7\_link.h@{ss7\_link.h}} \doxysubsubsection{osmo\_ss7\_link\_adm\_state} {\footnotesize\ttfamily enum \textbf{ osmo\+\_\+ss7\+\_\+link\+\_\+adm\+\_\+state}} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_SS7\_LS\_SHUTDOWN@{OSMO\_SS7\_LS\_SHUTDOWN}!ss7\_link.h@{ss7\_link.h}}\index{ss7\_link.h@{ss7\_link.h}!OSMO\_SS7\_LS\_SHUTDOWN@{OSMO\_SS7\_LS\_SHUTDOWN}}}\mbox{\label{ss7__link_8h_a6c8b72b42f0a6ea4fd7c77a8b9bf7a9fad8d49e9b70173cbf51e36c01beda408e}} OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+SHUTDOWN&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_SS7\_LS\_INHIBITED@{OSMO\_SS7\_LS\_INHIBITED}!ss7\_link.h@{ss7\_link.h}}\index{ss7\_link.h@{ss7\_link.h}!OSMO\_SS7\_LS\_INHIBITED@{OSMO\_SS7\_LS\_INHIBITED}}}\mbox{\label{ss7__link_8h_a6c8b72b42f0a6ea4fd7c77a8b9bf7a9faa4955ef70c2720fb61de396d1c5ed39f}} OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+INHIBITED&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{OSMO\_SS7\_LS\_ENABLED@{OSMO\_SS7\_LS\_ENABLED}!ss7\_link.h@{ss7\_link.h}}\index{ss7\_link.h@{ss7\_link.h}!OSMO\_SS7\_LS\_ENABLED@{OSMO\_SS7\_LS\_ENABLED}}}\mbox{\label{ss7__link_8h_a6c8b72b42f0a6ea4fd7c77a8b9bf7a9fa6d22820a2eb8140fe1c9a97ad562f05b}} OSMO\+\_\+\+SS7\+\_\+\+LS\+\_\+\+ENABLED&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{\_NUM\_OSMO\_SS7\_LS@{\_NUM\_OSMO\_SS7\_LS}!ss7\_link.h@{ss7\_link.h}}\index{ss7\_link.h@{ss7\_link.h}!\_NUM\_OSMO\_SS7\_LS@{\_NUM\_OSMO\_SS7\_LS}}}\mbox{\label{ss7__link_8h_a6c8b72b42f0a6ea4fd7c77a8b9bf7a9fadab3b2230e17c780d9b42b8fc3e9b23e}} \+\_\+\+NUM\+\_\+\+OSMO\+\_\+\+SS7\+\_\+\+LS&\\ \hline \end{DoxyEnumFields} \doxysubsection{Function Documentation} \mbox{\label{ss7__link_8h_a00c5f8a453e283109d5097f675f7fc6e}} \index{ss7\_link.h@{ss7\_link.h}!ss7\_link\_destroy@{ss7\_link\_destroy}} \index{ss7\_link\_destroy@{ss7\_link\_destroy}!ss7\_link.h@{ss7\_link.h}} \doxysubsubsection{ss7\_link\_destroy()} {\footnotesize\ttfamily void ss7\+\_\+link\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+link} $\ast$}]{link }\end{DoxyParamCaption})} Destroy SS7 Link. \begin{DoxyParams}[1]{Parameters} \mbox{\texttt{ in}} & {\em link} & SS7 Link to be destroyed \\ \hline \end{DoxyParams} References \textbf{ osmo\+\_\+ss7\+\_\+link\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+link\+::id}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::links}, \textbf{ osmo\+\_\+ss7\+\_\+link\+::linkset}, \textbf{ LOGSS7}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::name}, and \textbf{ ss7\+\_\+initialized}. Referenced by \textbf{ ss7\+\_\+linkset\+\_\+destroy()}. \mbox{\label{ss7__link_8h_a87df3323b282acc0e562a64dffdd1027}} \index{ss7\_link.h@{ss7\_link.h}!ss7\_link\_find\_or\_create@{ss7\_link\_find\_or\_create}} \index{ss7\_link\_find\_or\_create@{ss7\_link\_find\_or\_create}!ss7\_link.h@{ss7\_link.h}} \doxysubsubsection{ss7\_link\_find\_or\_create()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+link} $\ast$ ss7\+\_\+link\+\_\+find\+\_\+or\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$}]{lset, }\item[{uint32\+\_\+t}]{id }\end{DoxyParamCaption})} Find or create SS7 Link with given ID in given Linkset. \begin{DoxyParams}[1]{Parameters} \mbox{\texttt{ in}} & {\em lset} & SS7 Linkset on which we operate \\ \hline \mbox{\texttt{ in}} & {\em id} & Link number within Linkset \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} pointer to SS7 Link on success; NULL on error \end{DoxyReturn} References \textbf{ osmo\+\_\+ss7\+\_\+link\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+link\+::id}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::links}, \textbf{ osmo\+\_\+ss7\+\_\+link\+::linkset}, \textbf{ LOGSS7}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::name}, and \textbf{ ss7\+\_\+initialized}.