\hypertarget{conicconnectionevent_8h}{
\section{conicconnectionevent.h File Reference}
\label{conicconnectionevent_8h}\index{conicconnectionevent.h@{conicconnectionevent.h}}
}


\subsection{Detailed Description}
Con\-Ic\-Connection\-Event class. 

Con\-Ic\-Connection\-Event is sent whenever status of a connection changes. It's derived from Con\-Ic\-Event class. 

{\tt \#include $<$glib.h$>$}\par
{\tt \#include $<$glib-object.h$>$}\par
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef \_\-Con\-Ic\-Connection\-Event \hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event}
\begin{CompactList}\small\item\em Con\-Ic\-Connection\-Event object. \item\end{CompactList}\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}{Con\-Ic\-Connection\-Status} \{ \hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7bd63aa0d67208be695284bacda03751f}{CON\_\-IC\_\-STATUS\_\-CONNECTED}, 
\hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7d46597ec6b7e3e73c01fd1cba5705082}{CON\_\-IC\_\-STATUS\_\-DISCONNECTED}, 
\hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a73b989d34abfc61b70df7da7304d8709f}{CON\_\-IC\_\-STATUS\_\-DISCONNECTING}, 
\hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a72698cc7daedfc8ccdd8803e31113b5b8}{CON\_\-IC\_\-STATUS\_\-NETWORK\_\-UP}
 \}
\begin{CompactList}\small\item\em IAP connection statuses. \item\end{CompactList}\item 
enum \hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}{Con\-Ic\-Connection\-Error} \{ \hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea14d4779e4531bb263f8a5954be9bce47a}{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-NONE}, 
\hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1348fae4f7e0b5ba471d9ce88f528484e}{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-INVALID\_\-IAP}, 
\hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1a0a1d3b18d4458de0454bd5c0e99bfdb}{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-CONNECTION\_\-FAILED}, 
\hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea13036536af6a41fc6e562e7b9c59bad3b}{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-USER\_\-CANCELED}
 \}
\begin{CompactList}\small\item\em Error codes for connection events. \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}{Con\-Ic\-Connection\-Status} \hyperlink{conicconnectionevent_8h_1d8668ec1c4b9e1155379638b4bbe0e8}{con\_\-ic\_\-connection\_\-event\_\-get\_\-status} (\hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event} $\ast$event)
\begin{CompactList}\small\item\em Get status from the event. \item\end{CompactList}\item 
\hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}{Con\-Ic\-Connection\-Error} \hyperlink{conicconnectionevent_8h_1b8d387fa217f1bf527b93e7763a454c}{con\_\-ic\_\-connection\_\-event\_\-get\_\-error} (\hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event} $\ast$event)
\begin{CompactList}\small\item\em Get error from the event. \item\end{CompactList}\end{CompactItemize}


\subsection{Typedef Documentation}
\hypertarget{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{
\index{conicconnectionevent.h@{conicconnectionevent.h}!ConIcConnectionEvent@{ConIcConnectionEvent}}
\index{ConIcConnectionEvent@{ConIcConnectionEvent}!conicconnectionevent.h@{conicconnectionevent.h}}
\subsubsection[ConIcConnectionEvent]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \_\-Con\-Ic\-Connection\-Event \hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event}}}
\label{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}


Con\-Ic\-Connection\-Event object. 

The contents of the object is private, to access the object use the functions provided by \hyperlink{conicconnectionevent_8h}{conicconnectionevent.h}. 

\subsection{Enumeration Type Documentation}
\hypertarget{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}{
\index{conicconnectionevent.h@{conicconnectionevent.h}!ConIcConnectionError@{ConIcConnectionError}}
\index{ConIcConnectionError@{ConIcConnectionError}!conicconnectionevent.h@{conicconnectionevent.h}}
\subsubsection[ConIcConnectionError]{\setlength{\rightskip}{0pt plus 5cm}enum \hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}{Con\-Ic\-Connection\-Error}}}
\label{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}


Error codes for connection events. 

Only set in DISCONNECTED events, otherwise set to CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-NONE.

\begin{Desc}
\item[Note:]More error types might be added in the future. \end{Desc}
\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{CON_IC_CONNECTION_ERROR_NONE@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-NONE}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_CONNECTION_ERROR_NONE@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-NONE}}\item[{\em 
\hypertarget{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea14d4779e4531bb263f8a5954be9bce47a}{
CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-NONE}
\label{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea14d4779e4531bb263f8a5954be9bce47a}
}]No errors. \index{CON_IC_CONNECTION_ERROR_INVALID_IAP@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-INVALID\_\-IAP}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_CONNECTION_ERROR_INVALID_IAP@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-INVALID\_\-IAP}}\item[{\em 
\hypertarget{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1348fae4f7e0b5ba471d9ce88f528484e}{
CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-INVALID\_\-IAP}
\label{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1348fae4f7e0b5ba471d9ce88f528484e}
}]Requested IAP was invalid (for example not found or incomplete settings). \index{CON_IC_CONNECTION_ERROR_CONNECTION_FAILED@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-CONNECTION\_\-FAILED}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_CONNECTION_ERROR_CONNECTION_FAILED@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-CONNECTION\_\-FAILED}}\item[{\em 
\hypertarget{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1a0a1d3b18d4458de0454bd5c0e99bfdb}{
CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-CONNECTION\_\-FAILED}
\label{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1a0a1d3b18d4458de0454bd5c0e99bfdb}
}]Connections establishment failed for unknown reason. \index{CON_IC_CONNECTION_ERROR_USER_CANCELED@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-USER\_\-CANCELED}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_CONNECTION_ERROR_USER_CANCELED@{CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-USER\_\-CANCELED}}\item[{\em 
\hypertarget{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea13036536af6a41fc6e562e7b9c59bad3b}{
CON\_\-IC\_\-CONNECTION\_\-ERROR\_\-USER\_\-CANCELED}
\label{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea13036536af6a41fc6e562e7b9c59bad3b}
}]Connections establishment failed because of user cancellation. \end{description}
\end{Desc}

\hypertarget{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}{
\index{conicconnectionevent.h@{conicconnectionevent.h}!ConIcConnectionStatus@{ConIcConnectionStatus}}
\index{ConIcConnectionStatus@{ConIcConnectionStatus}!conicconnectionevent.h@{conicconnectionevent.h}}
\subsubsection[ConIcConnectionStatus]{\setlength{\rightskip}{0pt plus 5cm}enum \hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}{Con\-Ic\-Connection\-Status}}}
\label{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}


IAP connection statuses. 

\begin{Desc}
\item[Note:]More status types might be added in the future. \end{Desc}
\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{CON_IC_STATUS_CONNECTED@{CON\_\-IC\_\-STATUS\_\-CONNECTED}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_STATUS_CONNECTED@{CON\_\-IC\_\-STATUS\_\-CONNECTED}}\item[{\em 
\hypertarget{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7bd63aa0d67208be695284bacda03751f}{
CON\_\-IC\_\-STATUS\_\-CONNECTED}
\label{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7bd63aa0d67208be695284bacda03751f}
}]The IAP was connected. \index{CON_IC_STATUS_DISCONNECTED@{CON\_\-IC\_\-STATUS\_\-DISCONNECTED}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_STATUS_DISCONNECTED@{CON\_\-IC\_\-STATUS\_\-DISCONNECTED}}\item[{\em 
\hypertarget{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7d46597ec6b7e3e73c01fd1cba5705082}{
CON\_\-IC\_\-STATUS\_\-DISCONNECTED}
\label{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7d46597ec6b7e3e73c01fd1cba5705082}
}]The IAP was disconnected. \index{CON_IC_STATUS_DISCONNECTING@{CON\_\-IC\_\-STATUS\_\-DISCONNECTING}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_STATUS_DISCONNECTING@{CON\_\-IC\_\-STATUS\_\-DISCONNECTING}}\item[{\em 
\hypertarget{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a73b989d34abfc61b70df7da7304d8709f}{
CON\_\-IC\_\-STATUS\_\-DISCONNECTING}
\label{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a73b989d34abfc61b70df7da7304d8709f}
}]The IAP is disconnecting. \index{CON_IC_STATUS_NETWORK_UP@{CON\_\-IC\_\-STATUS\_\-NETWORK\_\-UP}!conicconnectionevent.h@{conicconnectionevent.h}}\index{conicconnectionevent.h@{conicconnectionevent.h}!CON_IC_STATUS_NETWORK_UP@{CON\_\-IC\_\-STATUS\_\-NETWORK\_\-UP}}\item[{\em 
\hypertarget{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a72698cc7daedfc8ccdd8803e31113b5b8}{
CON\_\-IC\_\-STATUS\_\-NETWORK\_\-UP}
\label{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a72698cc7daedfc8ccdd8803e31113b5b8}
}]The IAP has a network address, but is not yet fully connected. \end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{conicconnectionevent_8h_1b8d387fa217f1bf527b93e7763a454c}{
\index{conicconnectionevent.h@{conicconnectionevent.h}!con_ic_connection_event_get_error@{con\_\-ic\_\-connection\_\-event\_\-get\_\-error}}
\index{con_ic_connection_event_get_error@{con\_\-ic\_\-connection\_\-event\_\-get\_\-error}!conicconnectionevent.h@{conicconnectionevent.h}}
\subsubsection[con\_\-ic\_\-connection\_\-event\_\-get\_\-error]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{conicconnectionevent_8h_5a27ed719def47b1d76a7a51d00c4ea1}{Con\-Ic\-Connection\-Error} con\_\-ic\_\-connection\_\-event\_\-get\_\-error (\hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event} $\ast$ {\em event})}}
\label{conicconnectionevent_8h_1b8d387fa217f1bf527b93e7763a454c}


Get error from the event. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]Oss\-Ic\-Connection\-Event object \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]error \end{Desc}
\hypertarget{conicconnectionevent_8h_1d8668ec1c4b9e1155379638b4bbe0e8}{
\index{conicconnectionevent.h@{conicconnectionevent.h}!con_ic_connection_event_get_status@{con\_\-ic\_\-connection\_\-event\_\-get\_\-status}}
\index{con_ic_connection_event_get_status@{con\_\-ic\_\-connection\_\-event\_\-get\_\-status}!conicconnectionevent.h@{conicconnectionevent.h}}
\subsubsection[con\_\-ic\_\-connection\_\-event\_\-get\_\-status]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{conicconnectionevent_8h_72e9358149dbce854497193d5139e7a7}{Con\-Ic\-Connection\-Status} con\_\-ic\_\-connection\_\-event\_\-get\_\-status (\hyperlink{conicconnectionevent_8h_d97689d49bfb251023cf7649bcfd4690}{Con\-Ic\-Connection\-Event} $\ast$ {\em event})}}
\label{conicconnectionevent_8h_1d8668ec1c4b9e1155379638b4bbe0e8}


Get status from the event. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event}]Oss\-Ic\-Connection\-Event object \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]status \end{Desc}
