\doxysection{efl\+\_\+net-\/connman.h File Reference}
\hypertarget{efl__net-connman_8h}{}\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.  


\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17}\label{efl__net-connman_8h_aad2dd72565852b91c809cd4685833b17} 
\#define {\bfseries DEFAULT\+\_\+\+TIMEOUT}~10000.\+0
\end{DoxyCompactItemize}
\doxysubsubsection*{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 
\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 
\Hypertarget{efl__net-connman_8h_a55b95d7f14631d67f47d0def7cad2eae}\label{efl__net-connman_8h_a55b95d7f14631d67f47d0def7cad2eae} 
\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} \texorpdfstring{$\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}} \texorpdfstring{$\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 
\Hypertarget{efl__net-connman_8h_a37ba51370d5e937b671cc89259b27d6b}\label{efl__net-connman_8h_a37ba51370d5e937b671cc89259b27d6b} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology \texorpdfstring{$\ast$}{*} {\bfseries efl\+\_\+net\+\_\+connman\+\_\+control\+\_\+find\+\_\+technology\+\_\+by\+\_\+type} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager \texorpdfstring{$\ast$}{*}ctl, const char \texorpdfstring{$\ast$}{*}tech\+\_\+type)
\begin{DoxyCompactList}\small\item\em Given a Efl.\+Net.\+Control find a technology instance given its name. \end{DoxyCompactList}\item 
\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 \texorpdfstring{$\ast$}{*}ctl)
\begin{DoxyCompactList}\small\item\em Ask Efl.\+Net.\+Control to reload access point list. \end{DoxyCompactList}\item 
\Hypertarget{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8}\label{efl__net-connman_8h_aec87bcc3311b452fb8dd03a416cbd1f8} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology \texorpdfstring{$\ast$}{*} {\bfseries efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+new} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager \texorpdfstring{$\ast$}{*}parent, const char \texorpdfstring{$\ast$}{*}path, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} \texorpdfstring{$\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 
\Hypertarget{efl__net-connman_8h_a43007b706f6855a78ef1c1a137d53dd3}\label{efl__net-connman_8h_a43007b706f6855a78ef1c1a137d53dd3} 
const char \texorpdfstring{$\ast$}{*} {\bfseries efl\+\_\+net\+\_\+connman\+\_\+technology\+\_\+path\+\_\+get} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Technology \texorpdfstring{$\ast$}{*}tech)
\begin{DoxyCompactList}\small\item\em Get the path of the given technology. \end{DoxyCompactList}\item 
\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 \texorpdfstring{$\ast$}{*}tech\+\_\+type)
\begin{DoxyCompactList}\small\item\em Convert connman\textquotesingle{}s type string to enum value. \end{DoxyCompactList}\item 
\Hypertarget{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d}\label{efl__net-connman_8h_a56eb5df6204c2254b51a9c4348c0cd3d} 
Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point \texorpdfstring{$\ast$}{*} {\bfseries efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+new} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager \texorpdfstring{$\ast$}{*}parent, const char \texorpdfstring{$\ast$}{*}path, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} \texorpdfstring{$\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 
\Hypertarget{efl__net-connman_8h_a4a8c4bfb99db67931ea8f3079c88ee55}\label{efl__net-connman_8h_a4a8c4bfb99db67931ea8f3079c88ee55} 
const char \texorpdfstring{$\ast$}{*} {\bfseries efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+path\+\_\+get} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Access\+\_\+\+Point \texorpdfstring{$\ast$}{*}ap)
\begin{DoxyCompactList}\small\item\em Get the path of the given access\+\_\+point. \end{DoxyCompactList}\item 
\Hypertarget{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72}\label{efl__net-connman_8h_a7d9c26dda6d5048c0a784e749baf2b72} 
void {\bfseries efl\+\_\+net\+\_\+connman\+\_\+access\+\_\+point\+\_\+update} (Efl\+\_\+\+Net\+\_\+\+Control\+\_\+\+Manager \texorpdfstring{$\ast$}{*}ap, \mbox{\hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}} \texorpdfstring{$\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}
\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}
\doxylink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE} on errors, all other functions will be useless in this case. \doxylink{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()}}.

\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}} \texorpdfstring{$\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 \doxylink{efl__net-connman_8h_a57fa81a94697839b71ac824582a8fd68}{efl\+\_\+net\+\_\+connman\+\_\+init()} before using. There is no need to \doxylink{group__Eldbus__Proxy_ga8792b643be6b30b0e689aa73243f1911}{eldbus\+\_\+proxy\+\_\+ref()} it, but if done should have a matching \doxylink{group__Eldbus__Proxy_gab8b43f9e377544b987d2e0151c660aa7}{eldbus\+\_\+proxy\+\_\+unref()}. After done, remember to \doxylink{efl__net-connman_8h_adeaca5c20ddddcfd0f3936d1bfd41dda}{efl\+\_\+net\+\_\+connman\+\_\+shutdown()}. 
\end{DoxyNote}
