\hypertarget{efl__net-connman_8h}{}\doxysection{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.  


\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17}\label{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17}} 
\#define {\bfseries DEFAULT\+\_\+\+TIMEOUT}~10000.\+0
\end{DoxyCompactItemize}
\doxysubsection*{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 {\bfseries 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_a55b95d7f14631d67f47d0def7cad2eae}\label{efl__net-connman_8h_a55b95d7f14631d67f47d0def7cad2eae}} 
\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$ {\bfseries efl\+\_\+net\+\_\+connman\+\_\+connection\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns the DBus connection shared by all objects. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus_ga82047f6a5efc1980ae445a898c2ed9c0}{Eldbus\+\_\+\+Proxy}} $\ast$ \mbox{\hyperlink{efl__net-connman_8h_ae1c985508c677cd88aa84bf0a5d79894}{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_a37ba51370d5e937b671cc89259b27d6b}\label{efl__net-connman_8h_a37ba51370d5e937b671cc89259b27d6b}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ {\bfseries 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 {\bfseries 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_aec87bcc3311b452fb8dd03a416cbd1f8}\label{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ {\bfseries 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_a43007b706f6855a78ef1c1a137d53dd3}\label{efl__net-connman_8h_a43007b706f6855a78ef1c1a137d53dd3}} 
const char $\ast$ {\bfseries 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 {\bfseries 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_a56eb5df6204c2254b51a9c4348c0cd3d}\label{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point $\ast$ {\bfseries 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_a4a8c4bfb99db67931ea8f3079c88ee55}\label{efl__net-connman_8h_a4a8c4bfb99db67931ea8f3079c88ee55}} 
const char $\ast$ {\bfseries 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 {\bfseries 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}


\doxysubsection{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}


\doxysubsection{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}}
\doxysubsubsection{\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}{EINA\+\_\+\+FALSE}} on errors, all other functions will be useless in this case. \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Eldbus__Connection_gac73e69791d7b884af458390b9c30925a}{eldbus\+\_\+connection\+\_\+get()}}, \mbox{\hyperlink{group__Eldbus__Core_gadd7c8b8a43b5dd590f7fd06166288754}{eldbus\+\_\+init()}}, and \mbox{\hyperlink{group__Eina__File__Group_ga24e93be9c5baa3aeab7021b64e290672}{ERR}}.

\mbox{\Hypertarget{efl__net-connman_8h_ae1c985508c677cd88aa84bf0a5d79894}\label{efl__net-connman_8h_ae1c985508c677cd88aa84bf0a5d79894}} 
\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}}
\doxysubsubsection{\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_ga8792b643be6b30b0e689aa73243f1911}{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}
