\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 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ \mbox{\hyperlink{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}{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 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point $\ast$ \mbox{\hyperlink{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}{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 
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}


\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_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Eldbus__Connection_gac73e69791d7b884af458390b9c30925a}{eldbus\+\_\+connection\+\_\+get()}}, \mbox{\hyperlink{group__Eldbus__Connection_ga3d0c8a8fd32556f912f41ae29c4d5fa4}{eldbus\+\_\+connection\+\_\+unique\+\_\+name\+\_\+get()}}, \mbox{\hyperlink{group__Eldbus__Connection_ga1c035aac8b601b416bba11d0d68f80ae}{eldbus\+\_\+connection\+\_\+unref()}}, \mbox{\hyperlink{group__Eldbus__Core_gadd7c8b8a43b5dd590f7fd06166288754}{eldbus\+\_\+init()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga88ed939f56f83494e69a8d34212c202a}{eldbus\+\_\+object\+\_\+get()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_gabf9de9a1f28df4a8b0b3b2cd416d647e}{eldbus\+\_\+object\+\_\+unref()}}, \mbox{\hyperlink{group__Eldbus__Proxy_gafd97e547ddf84925c959d32ea8baaca7}{eldbus\+\_\+proxy\+\_\+free\+\_\+cb\+\_\+add()}}, and \mbox{\hyperlink{group__Eldbus__Proxy_ga817e6172d2edc6ca0d932e7de7f9c8a0}{eldbus\+\_\+proxy\+\_\+get()}}.

\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}
\mbox{\Hypertarget{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}\label{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}} 
\index{efl\_net-\/connman.h@{efl\_net-\/connman.h}!efl\_net\_connman\_technology\_new@{efl\_net\_connman\_technology\_new}}
\index{efl\_net\_connman\_technology\_new@{efl\_net\_connman\_technology\_new}!efl\_net-\/connman.h@{efl\_net-\/connman.h}}
\doxysubsubsection{\texorpdfstring{efl\_net\_connman\_technology\_new()}{efl\_net\_connman\_technology\_new()}}
{\footnotesize\ttfamily Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology $\ast$ efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+new (\begin{DoxyParamCaption}\item[{Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$}]{parent,  }\item[{const char $\ast$}]{path,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$}]{properties }\end{DoxyParamCaption})}



Creates a new Efl.\+Net.\+Control.\+Technology child of an Efl.\+Net.\+Control with path and properties. 



References \mbox{\hyperlink{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}{efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Message__Iter_ga45c7d707ee830ae5be39c17df05af615}{eldbus\+\_\+message\+\_\+iter\+\_\+get\+\_\+and\+\_\+next()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga88ed939f56f83494e69a8d34212c202a}{eldbus\+\_\+object\+\_\+get()}}, and \mbox{\hyperlink{group__Eldbus__Proxy_ga817e6172d2edc6ca0d932e7de7f9c8a0}{eldbus\+\_\+proxy\+\_\+get()}}.



Referenced by \mbox{\hyperlink{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}{efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+new()}}.

\mbox{\Hypertarget{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}\label{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}} 
\index{efl\_net-\/connman.h@{efl\_net-\/connman.h}!efl\_net\_connman\_access\_point\_new@{efl\_net\_connman\_access\_point\_new}}
\index{efl\_net\_connman\_access\_point\_new@{efl\_net\_connman\_access\_point\_new}!efl\_net-\/connman.h@{efl\_net-\/connman.h}}
\doxysubsubsection{\texorpdfstring{efl\_net\_connman\_access\_point\_new()}{efl\_net\_connman\_access\_point\_new()}}
{\footnotesize\ttfamily Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point $\ast$ efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new (\begin{DoxyParamCaption}\item[{Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$}]{parent,  }\item[{const char $\ast$}]{path,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$}]{properties,  }\item[{unsigned int}]{priority }\end{DoxyParamCaption})}



Creates a new Efl.\+Net.\+Control.\+Access\+\_\+\+Point child of an Efl.\+Net.\+Control with path and properties. 



References \mbox{\hyperlink{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new()}}, \mbox{\hyperlink{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga88ed939f56f83494e69a8d34212c202a}{eldbus\+\_\+object\+\_\+get()}}, and \mbox{\hyperlink{group__Eldbus__Proxy_ga817e6172d2edc6ca0d932e7de7f9c8a0}{eldbus\+\_\+proxy\+\_\+get()}}.



Referenced by \mbox{\hyperlink{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new()}}.

\mbox{\Hypertarget{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}\label{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}} 
\index{efl\_net-\/connman.h@{efl\_net-\/connman.h}!efl\_net\_connman\_access\_point\_update@{efl\_net\_connman\_access\_point\_update}}
\index{efl\_net\_connman\_access\_point\_update@{efl\_net\_connman\_access\_point\_update}!efl\_net-\/connman.h@{efl\_net-\/connman.h}}
\doxysubsubsection{\texorpdfstring{efl\_net\_connman\_access\_point\_update()}{efl\_net\_connman\_access\_point\_update()}}
{\footnotesize\ttfamily void efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update (\begin{DoxyParamCaption}\item[{Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager $\ast$}]{ap,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} $\ast$}]{properties,  }\item[{unsigned int}]{priority }\end{DoxyParamCaption})}



Updates Efl.\+Net.\+Control.\+Access\+\_\+\+Point properties. 



References \mbox{\hyperlink{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eldbus__Message__Iter_ga45c7d707ee830ae5be39c17df05af615}{eldbus\+\_\+message\+\_\+iter\+\_\+get\+\_\+and\+\_\+next()}}.



Referenced by \mbox{\hyperlink{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new()}}, and \mbox{\hyperlink{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}{efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update()}}.

