\hypertarget{efl__net-connman_8h}{}\section{efl\+\_\+net-\/connman.h File Reference}
\label{efl__net-connman_8h}\index{efl\+\_\+net-\/connman.\+h@{efl\+\_\+net-\/connman.\+h}}


Common infrastructure to create Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager and Efl\+\_\+\+Net\+\_\+\+Session based on Conn\+Man connection manager.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17}\label{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17}} 
\#define {\bfseries D\+E\+F\+A\+U\+L\+T\+\_\+\+T\+I\+M\+E\+O\+UT}~10000.\+0
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{efl__net-connman_8h_a57fa81a94697839b71ac824582a8fd68}{efl\+\_\+net\+\_\+connman\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Should be called from inside Efl.\+Object.\+constructor before using any of connman functions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_adeaca5c20ddddcfd0f3936d1bfd41dda}\label{efl__net-connman_8h_adeaca5c20ddddcfd0f3936d1bfd41dda}} 
void \mbox{\hyperlink{efl__net-connman_8h_adeaca5c20ddddcfd0f3936d1bfd41dda}{efl\+\_\+net\+\_\+connman\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Should be called from inside Efl.\+Object.\+destructor after done using all of connman functions. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a4c91ac704a233059ca7f37b8c20c6c8b}\label{efl__net-connman_8h_a4c91ac704a233059ca7f37b8c20c6c8b}} 
\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a4c91ac704a233059ca7f37b8c20c6c8b}{efl\+\_\+net\+\_\+connman\+\_\+connection\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Returns the D\+Bus connection shared by all objects. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus_ga82047f6a5efc1980ae445a898c2ed9c0}{Eldbus\+\_\+\+Proxy}} $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a6e61062f6b7286917070089d4e14c29f}{efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Returns a singleton for Conn\+Man\textquotesingle{}s Manager object and interface (proxy). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a545a8caa209b45829164d5a14ced6a88}\label{efl__net-connman_8h_a545a8caa209b45829164d5a14ced6a88}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a545a8caa209b45829164d5a14ced6a88}{efl\+\_\+net\+\_\+connman\+\_\+control\+\_\+find\+\_\+technology\+\_\+by\+\_\+type}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$ctl, const char $\ast$tech\+\_\+type)
\begin{DoxyCompactList}\small\item\em Given a Efl.\+Net.\+Control find a technology instance given its name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_af6035f198714a8db350dd72892a785c0}\label{efl__net-connman_8h_af6035f198714a8db350dd72892a785c0}} 
void \mbox{\hyperlink{efl__net-connman_8h_af6035f198714a8db350dd72892a785c0}{efl\+\_\+net\+\_\+connman\+\_\+control\+\_\+access\+\_\+points\+\_\+reload}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$ctl)
\begin{DoxyCompactList}\small\item\em Ask Efl.\+Net.\+Control to reload access point list. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a16469c873e7a3fd96b44d5bf57b30657}\label{efl__net-connman_8h_a16469c873e7a3fd96b44d5bf57b30657}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a16469c873e7a3fd96b44d5bf57b30657}{efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+new}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$parent, const char $\ast$path, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$properties)
\begin{DoxyCompactList}\small\item\em Creates a new Efl.\+Net.\+Control.\+Technology child of an Efl.\+Net.\+Control with path and properties. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_ae60cc4b84de429c34d71ec8377afb562}\label{efl__net-connman_8h_ae60cc4b84de429c34d71ec8377afb562}} 
const char $\ast$ \mbox{\hyperlink{efl__net-connman_8h_ae60cc4b84de429c34d71ec8377afb562}{efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+path\+\_\+get}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$tech)
\begin{DoxyCompactList}\small\item\em Get the path of the given technology. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a2f8cd8a3a3dfba07a2b118ff8537fcc8}\label{efl__net-connman_8h_a2f8cd8a3a3dfba07a2b118ff8537fcc8}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology\+\_\+\+Type \mbox{\hyperlink{efl__net-connman_8h_a2f8cd8a3a3dfba07a2b118ff8537fcc8}{efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+type\+\_\+from\+\_\+str}} (const char $\ast$tech\+\_\+type)
\begin{DoxyCompactList}\small\item\em Convert connman\textquotesingle{}s type string to enum value. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_ac9c6f38e69d16ab688bf0121085bdb01}\label{efl__net-connman_8h_ac9c6f38e69d16ab688bf0121085bdb01}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point $\ast$ \mbox{\hyperlink{efl__net-connman_8h_ac9c6f38e69d16ab688bf0121085bdb01}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$parent, const char $\ast$path, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$properties, unsigned int priority)
\begin{DoxyCompactList}\small\item\em Creates a new Efl.\+Net.\+Control.\+Access\+\_\+\+Point child of an Efl.\+Net.\+Control with path and properties. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a4591773a3249540af744741ff5ad8c38}\label{efl__net-connman_8h_a4591773a3249540af744741ff5ad8c38}} 
const char $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a4591773a3249540af744741ff5ad8c38}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+path\+\_\+get}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point $\ast$ap)
\begin{DoxyCompactList}\small\item\em Get the path of the given access\+\_\+point. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}\label{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}} 
void \mbox{\hyperlink{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update}} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$ap, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$properties, unsigned int priority)
\begin{DoxyCompactList}\small\item\em Updates Efl.\+Net.\+Control.\+Access\+\_\+\+Point properties. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Common infrastructure to create Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager and Efl\+\_\+\+Net\+\_\+\+Session based on Conn\+Man connection manager. 

\begin{DoxyNote}{Note}
Each connection manager that needs shared infra should create their own file! 
\end{DoxyNote}


\subsection{Function Documentation}
\mbox{\Hypertarget{efl__net-connman_8h_a57fa81a94697839b71ac824582a8fd68}\label{efl__net-connman_8h_a57fa81a94697839b71ac824582a8fd68}} 
\index{efl\+\_\+net-\/connman.\+h@{efl\+\_\+net-\/connman.\+h}!efl\+\_\+net\+\_\+connman\+\_\+init@{efl\+\_\+net\+\_\+connman\+\_\+init}}
\index{efl\+\_\+net\+\_\+connman\+\_\+init@{efl\+\_\+net\+\_\+connman\+\_\+init}!efl\+\_\+net-\/connman.\+h@{efl\+\_\+net-\/connman.\+h}}
\subsubsection{\texorpdfstring{efl\+\_\+net\+\_\+connman\+\_\+init()}{efl\_net\_connman\_init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} efl\+\_\+net\+\_\+connman\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Should be called from inside Efl.\+Object.\+constructor before using any of connman functions. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} on errors, all other functions will be useless in this case. \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+UE, eldbus\+\_\+connection\+\_\+get(), eldbus\+\_\+init(), and E\+RR.

\mbox{\Hypertarget{efl__net-connman_8h_a6e61062f6b7286917070089d4e14c29f}\label{efl__net-connman_8h_a6e61062f6b7286917070089d4e14c29f}} 
\index{efl\+\_\+net-\/connman.\+h@{efl\+\_\+net-\/connman.\+h}!efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get@{efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get}}
\index{efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get@{efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get}!efl\+\_\+net-\/connman.\+h@{efl\+\_\+net-\/connman.\+h}}
\subsubsection{\texorpdfstring{efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get()}{efl\_net\_connman\_manager\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus_ga82047f6a5efc1980ae445a898c2ed9c0}{Eldbus\+\_\+\+Proxy}}$\ast$ efl\+\_\+net\+\_\+connman\+\_\+manager\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Returns a singleton for Conn\+Man\textquotesingle{}s Manager object and interface (proxy). 

\begin{DoxyNote}{Note}
call \mbox{\hyperlink{efl__net-connman_8h_a57fa81a94697839b71ac824582a8fd68}{efl\+\_\+net\+\_\+connman\+\_\+init()}} before using. There is no need to \mbox{\hyperlink{group__Eldbus__Proxy_ga2a30ab866c5005d009acd5046a241961}{eldbus\+\_\+proxy\+\_\+ref()}} it, but if done should have a matching \mbox{\hyperlink{group__Eldbus__Proxy_gab8b43f9e377544b987d2e0151c660aa7}{eldbus\+\_\+proxy\+\_\+unref()}}. After done, remember to \mbox{\hyperlink{efl__net-connman_8h_adeaca5c20ddddcfd0f3936d1bfd41dda}{efl\+\_\+net\+\_\+connman\+\_\+shutdown()}}. 
\end{DoxyNote}
