\doxysection{xua\+\_\+asp\+\_\+fsm.\+h}
\label{xua__asp__fsm_8h_source}\index{src/xua\_asp\_fsm.h@{src/xua\_asp\_fsm.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 }
\DoxyCodeLine{3 \textcolor{keyword}{enum} xua\_asp\_state \{}
\DoxyCodeLine{4         XUA\_ASP\_S\_DOWN,}
\DoxyCodeLine{5         XUA\_ASP\_S\_INACTIVE,}
\DoxyCodeLine{6         XUA\_ASP\_S\_ACTIVE,}
\DoxyCodeLine{7 \};}
\DoxyCodeLine{8 }
\DoxyCodeLine{9 \textcolor{keyword}{enum} xua\_asp\_event \{}
\DoxyCodeLine{10         XUA\_ASP\_E\_M\_ASP\_UP\_REQ,}
\DoxyCodeLine{11         XUA\_ASP\_E\_M\_ASP\_ACTIVE\_REQ,}
\DoxyCodeLine{12         XUA\_ASP\_E\_M\_ASP\_DOWN\_REQ,}
\DoxyCodeLine{13         XUA\_ASP\_E\_M\_ASP\_INACTIVE\_REQ,}
\DoxyCodeLine{14 }
\DoxyCodeLine{15         XUA\_ASP\_E\_SCTP\_COMM\_DOWN\_IND,}
\DoxyCodeLine{16         XUA\_ASP\_E\_SCTP\_RESTART\_IND,}
\DoxyCodeLine{17         XUA\_ASP\_E\_SCTP\_EST\_IND,}
\DoxyCodeLine{18 }
\DoxyCodeLine{19         XUA\_ASP\_E\_ASPSM\_ASPUP,}
\DoxyCodeLine{20         XUA\_ASP\_E\_ASPSM\_ASPUP\_ACK,}
\DoxyCodeLine{21         XUA\_ASP\_E\_ASPTM\_ASPAC,}
\DoxyCodeLine{22         XUA\_ASP\_E\_ASPTM\_ASPAC\_ACK,}
\DoxyCodeLine{23         XUA\_ASP\_E\_ASPSM\_ASPDN,}
\DoxyCodeLine{24         XUA\_ASP\_E\_ASPSM\_ASPDN\_ACK,}
\DoxyCodeLine{25         XUA\_ASP\_E\_ASPTM\_ASPIA,}
\DoxyCodeLine{26         XUA\_ASP\_E\_ASPTM\_ASPIA\_ACK,}
\DoxyCodeLine{27 }
\DoxyCodeLine{28         XUA\_ASP\_E\_ASPSM\_BEAT,}
\DoxyCodeLine{29         XUA\_ASP\_E\_ASPSM\_BEAT\_ACK,}
\DoxyCodeLine{30 }
\DoxyCodeLine{31         \textcolor{comment}{/* The ASP was added to an AS. data: (struct osmo\_ss7\_as *) */}}
\DoxyCodeLine{32         XUA\_ASP\_E\_AS\_ASSIGNED,}
\DoxyCodeLine{33 }
\DoxyCodeLine{34         \textcolor{comment}{/* IPA specific */}}
\DoxyCodeLine{35         IPA\_ASP\_E\_ID\_RESP,}
\DoxyCodeLine{36         IPA\_ASP\_E\_ID\_ACK,}
\DoxyCodeLine{37         IPA\_ASP\_E\_ID\_GET,}
\DoxyCodeLine{38 }
\DoxyCodeLine{39         \_NUM\_XUA\_ASP\_E}
\DoxyCodeLine{40 \};}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{keyword}{extern} \textcolor{keyword}{struct }osmo\_fsm xua\_asp\_fsm;}
\DoxyCodeLine{43 \textcolor{keyword}{extern} \textcolor{keyword}{struct }osmo\_fsm ipa\_asp\_fsm;}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{keywordtype}{int} xua\_asp\_fsm\_start(\textcolor{keyword}{struct} osmo\_ss7\_asp *asp,}
\DoxyCodeLine{46                       \textcolor{keyword}{enum} osmo\_ss7\_asp\_role role, \textcolor{keywordtype}{int} log\_level);}

\end{DoxyCode}
