\doxysection{xua\+\_\+as\+\_\+fsm.\+h}
\label{xua__as__fsm_8h_source}\index{src/xua\_as\_fsm.h@{src/xua\_as\_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}{struct }osmo\_ss7\_as;}
\DoxyCodeLine{4 \textcolor{keyword}{struct }osmo\_ss7\_asp;}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 \textcolor{keyword}{enum} xua\_as\_state \{}
\DoxyCodeLine{7         XUA\_AS\_S\_DOWN,}
\DoxyCodeLine{8         XUA\_AS\_S\_INACTIVE,}
\DoxyCodeLine{9         XUA\_AS\_S\_ACTIVE,}
\DoxyCodeLine{10         XUA\_AS\_S\_PENDING,}
\DoxyCodeLine{11 \};}
\DoxyCodeLine{12 }
\DoxyCodeLine{13 \textcolor{keyword}{struct }xua\_as\_event\_asp\_inactive\_ind\_pars \{}
\DoxyCodeLine{14         \textcolor{keyword}{struct }osmo\_ss7\_asp *asp;}
\DoxyCodeLine{15         \textcolor{comment}{/* RFC4666 4.3.4.5: "{}When an ASP moves from ASP-\/DOWN to ASP-\/INACTIVE within a}}
\DoxyCodeLine{16 \textcolor{comment}{         * particular AS, a Notify message SHOULD be sent, by the ASP-\/UP receptor,}}
\DoxyCodeLine{17 \textcolor{comment}{         * after sending the ASP-\/UP-\/ACK, in order to inform the ASP of the current AS}}
\DoxyCodeLine{18 \textcolor{comment}{         * state."{} */}}
\DoxyCodeLine{19         \textcolor{keywordtype}{bool} asp\_requires\_notify;}
\DoxyCodeLine{20 \};}
\DoxyCodeLine{21 }
\DoxyCodeLine{22 \textcolor{keyword}{enum} xua\_as\_event \{}
\DoxyCodeLine{23         XUA\_ASPAS\_ASP\_INACTIVE\_IND, \textcolor{comment}{/* param: struct xua\_as\_event\_asp\_inactive\_ind\_pars* */}}
\DoxyCodeLine{24         XUA\_ASPAS\_ASP\_DOWN\_IND, \textcolor{comment}{/* param: struct osmo\_ss7\_asp* */}}
\DoxyCodeLine{25         XUA\_ASPAS\_ASP\_ACTIVE\_IND,}
\DoxyCodeLine{26         XUA\_AS\_E\_RECOVERY\_EXPD,}
\DoxyCodeLine{27         XUA\_AS\_E\_TRANSFER\_REQ, \textcolor{comment}{/* param: struct xua\_msg*, ownership transferred. */}}
\DoxyCodeLine{28 \};}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{keyword}{extern} \textcolor{keyword}{struct }osmo\_fsm xua\_as\_fsm;}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{keyword}{struct }osmo\_fsm\_inst *xua\_as\_fsm\_start(\textcolor{keyword}{struct} osmo\_ss7\_as *as, \textcolor{keywordtype}{int} log\_level);}

\end{DoxyCode}
