\hypertarget{group__Eldbus__Core}{}\section{Core}
\label{group__Eldbus__Core}\index{Core@{Core}}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eldbus__Version}{\+\_\+\+Eldbus\+\_\+\+Version}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eldbus__Core_gaed4dd499f8f908879ebcedbf416411c1}\label{group__Eldbus__Core_gaed4dd499f8f908879ebcedbf416411c1}} 
\#define \hyperlink{group__Eldbus__Core_gaed4dd499f8f908879ebcedbf416411c1}{E\+L\+D\+B\+U\+S\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR}~E\+F\+L\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR
\begin{DoxyCompactList}\small\item\em Eldbus version major number. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gafdc54775b6d6889e54cfaeebdd240d5c}\label{group__Eldbus__Core_gafdc54775b6d6889e54cfaeebdd240d5c}} 
\#define \hyperlink{group__Eldbus__Core_gafdc54775b6d6889e54cfaeebdd240d5c}{E\+L\+D\+B\+U\+S\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR}~E\+F\+L\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR
\begin{DoxyCompactList}\small\item\em Eldbus version minor number. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gab97eca2dee4c913fbf5b052be14e9f20}\label{group__Eldbus__Core_gab97eca2dee4c913fbf5b052be14e9f20}} 
\#define \hyperlink{group__Eldbus__Core_gab97eca2dee4c913fbf5b052be14e9f20}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+B\+US}~\char`\"{}org.\+freedesktop.\+D\+Bus\char`\"{}
\begin{DoxyCompactList}\small\item\em D\+Bus message bus name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga44346df7916869917a3bbb641ba970d2}\label{group__Eldbus__Core_ga44346df7916869917a3bbb641ba970d2}} 
\#define \hyperlink{group__Eldbus__Core_ga44346df7916869917a3bbb641ba970d2}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+P\+A\+TH}~\char`\"{}/org/freedesktop/D\+Bus\char`\"{}
\begin{DoxyCompactList}\small\item\em Object that implements message bus interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gafaf7e367f9a6d5e0e1205e42fed56785}\label{group__Eldbus__Core_gafaf7e367f9a6d5e0e1205e42fed56785}} 
\#define \hyperlink{group__Eldbus__Core_gafaf7e367f9a6d5e0e1205e42fed56785}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+I\+N\+T\+E\+R\+F\+A\+CE}~\hyperlink{group__Eldbus__Core_gab97eca2dee4c913fbf5b052be14e9f20}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+B\+US}
\begin{DoxyCompactList}\small\item\em D\+Bus message bus interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga4ccb27534efa1b3a5c15fa75d09cc615}\label{group__Eldbus__Core_ga4ccb27534efa1b3a5c15fa75d09cc615}} 
\#define \hyperlink{group__Eldbus__Core_ga4ccb27534efa1b3a5c15fa75d09cc615}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+I\+N\+T\+E\+R\+F\+A\+C\+E\+\_\+\+P\+R\+O\+P\+E\+R\+T\+I\+ES}~\char`\"{}org.\+freedesktop.\+D\+Bus.\+Properties\char`\"{}
\begin{DoxyCompactList}\small\item\em D\+Bus Properties interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga1b2f8e58879b4da9716da304ff0d9776}\label{group__Eldbus__Core_ga1b2f8e58879b4da9716da304ff0d9776}} 
\#define \hyperlink{group__Eldbus__Core_ga1b2f8e58879b4da9716da304ff0d9776}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+I\+N\+T\+E\+R\+F\+A\+C\+E\+\_\+\+O\+B\+J\+E\+C\+T\+\_\+\+M\+A\+N\+A\+G\+ER}~\char`\"{}org.\+freedesktop.\+D\+Bus.\+Object\+Manager\char`\"{}
\begin{DoxyCompactList}\small\item\em D\+Bus Object\+Manager interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gabcdf1b4a60070c81bebebdaf0343cba5}\label{group__Eldbus__Core_gabcdf1b4a60070c81bebebdaf0343cba5}} 
\#define \hyperlink{group__Eldbus__Core_gabcdf1b4a60070c81bebebdaf0343cba5}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+I\+N\+T\+E\+R\+F\+A\+C\+E\+\_\+\+I\+N\+T\+R\+O\+S\+P\+E\+C\+T\+A\+B\+LE}~\char`\"{}org.\+freedesktop.\+D\+Bus.\+Introspectable\char`\"{}
\begin{DoxyCompactList}\small\item\em D\+Bus Introspectable interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga13b9db1961e1f52afa9510e8aa642c6e}\label{group__Eldbus__Core_ga13b9db1961e1f52afa9510e8aa642c6e}} 
\#define \hyperlink{group__Eldbus__Core_ga13b9db1961e1f52afa9510e8aa642c6e}{E\+L\+D\+B\+U\+S\+\_\+\+F\+D\+O\+\_\+\+I\+N\+T\+E\+F\+A\+C\+E\+\_\+\+P\+E\+ER}~\char`\"{}org.\+freedesktop.\+D\+Bus.\+Peer\char`\"{}
\begin{DoxyCompactList}\small\item\em D\+Bus Peer interface. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gae021dcae8af399e7c5663cc42315927c}\label{group__Eldbus__Core_gae021dcae8af399e7c5663cc42315927c}} 
\#define \hyperlink{group__Eldbus__Core_gae021dcae8af399e7c5663cc42315927c}{E\+L\+D\+B\+U\+S\+\_\+\+E\+R\+R\+O\+R\+\_\+\+P\+E\+N\+D\+I\+N\+G\+\_\+\+C\+A\+N\+C\+E\+L\+ED}~\char`\"{}org.\+enlightenment.\+D\+Bus.\+Canceled\char`\"{}
\begin{DoxyCompactList}\small\item\em Canceled error answer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga7f86eba610c2b22f802bdbcbe9a378f2}\label{group__Eldbus__Core_ga7f86eba610c2b22f802bdbcbe9a378f2}} 
\#define \hyperlink{group__Eldbus__Core_ga7f86eba610c2b22f802bdbcbe9a378f2}{E\+L\+D\+B\+U\+S\+\_\+\+E\+R\+R\+O\+R\+\_\+\+P\+E\+N\+D\+I\+N\+G\+\_\+\+T\+I\+M\+E\+O\+UT}~\char`\"{}org.\+freedesktop.\+D\+Bus.\+Error.\+No\+Reply\char`\"{}
\begin{DoxyCompactList}\small\item\em Timeout error answer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga69c20558493cdac5c7ce26e6b6b90833}\label{group__Eldbus__Core_ga69c20558493cdac5c7ce26e6b6b90833}} 
typedef struct \hyperlink{struct__Eldbus__Version}{\+\_\+\+Eldbus\+\_\+\+Version} \hyperlink{group__Eldbus__Core_ga69c20558493cdac5c7ce26e6b6b90833}{Eldbus\+\_\+\+Version}
\begin{DoxyCompactList}\small\item\em Represents the current version of Eldbus. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}\label{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}} 
typedef void($\ast$ \hyperlink{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}{Eldbus\+\_\+\+Free\+\_\+\+Cb}) (void $\ast$data, const void $\ast$deadptr)
\begin{DoxyCompactList}\small\item\em Callback that is called when the connection is freed. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga5f0557a7e65ed263fcc1678874b8f7e7}\label{group__Eldbus__Core_ga5f0557a7e65ed263fcc1678874b8f7e7}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Connection \hyperlink{group__Eldbus__Core_ga5f0557a7e65ed263fcc1678874b8f7e7}{Eldbus\+\_\+\+Connection}
\begin{DoxyCompactList}\small\item\em Represents a connection of one the type of connection with the D\+Bus daemon. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}\label{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Object \hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\+\_\+\+Object}
\begin{DoxyCompactList}\small\item\em Represents an object path already attached with bus name or unique id. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}\label{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Proxy \hyperlink{group__Eldbus__Core_ga5598fdabe4f36f8c13ef7a07dc219a3c}{Eldbus\+\_\+\+Proxy}
\begin{DoxyCompactList}\small\item\em Represents an interface of an object path. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}\label{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Message \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}
\begin{DoxyCompactList}\small\item\em Represents the way data is sent and received in D\+Bus. \end{DoxyCompactList}\item 
typedef struct \+\_\+\+Eldbus\+\_\+\+Message\+\_\+\+Iter \hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}
\begin{DoxyCompactList}\small\item\em Represents an iterator over a complex message type (array, dict, struct, or variant). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}\label{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Pending \hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}
\begin{DoxyCompactList}\small\item\em Represents a message that has been sent but has not yet reached its destination. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}\label{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}} 
typedef struct \+\_\+\+Eldbus\+\_\+\+Signal\+\_\+\+Handler \hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}
\begin{DoxyCompactList}\small\item\em Represents a listener that will listen for signals emitted by other applications. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}\label{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}} 
typedef void($\ast$ \hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}) (void $\ast$data, const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, \hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending} $\ast$pending)
\begin{DoxyCompactList}\small\item\em Callback that is called when answer of a method call message comes. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}\label{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}} 
typedef void($\ast$ \hyperlink{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}{Eldbus\+\_\+\+Signal\+\_\+\+Cb}) (void $\ast$data, const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Callback that is called when a signal is received. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Eldbus__Core_gadd7c8b8a43b5dd590f7fd06166288754}{eldbus\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialize eldbus. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Eldbus__Core_ga255ee3e090da6704d009ee74ba9d8a79}{eldbus\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shutdown eldbus. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eldbus__Core_ga60b168b9f48abb9d5eda900b3bfa3e56}\label{group__Eldbus__Core_ga60b168b9f48abb9d5eda900b3bfa3e56}} 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} const \hyperlink{group__Eldbus__Core_ga69c20558493cdac5c7ce26e6b6b90833}{Eldbus\+\_\+\+Version} $\ast$ \hyperlink{group__Eldbus__Core_ga60b168b9f48abb9d5eda900b3bfa3e56}{eldbus\+\_\+version}
\begin{DoxyCompactList}\small\item\em Global Eldbus\+\_\+\+Version object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}\label{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}} 
\index{Core@{Core}!Eldbus\+\_\+\+Message\+\_\+\+Iter@{Eldbus\+\_\+\+Message\+\_\+\+Iter}}
\index{Eldbus\+\_\+\+Message\+\_\+\+Iter@{Eldbus\+\_\+\+Message\+\_\+\+Iter}!Core@{Core}}
\subsubsection{\texorpdfstring{Eldbus\+\_\+\+Message\+\_\+\+Iter}{Eldbus\_Message\_Iter}}
{\footnotesize\ttfamily \hyperlink{group__Eldbus__Core_ga08a70c6651064414e56d75fba2232925}{Eldbus\+\_\+\+Message\+\_\+\+Iter}}



Represents an iterator over a complex message type (array, dict, struct, or variant). 

Its life is bound to the message that contains it. The same applies to the returned data. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eldbus__Core_gadd7c8b8a43b5dd590f7fd06166288754}\label{group__Eldbus__Core_gadd7c8b8a43b5dd590f7fd06166288754}} 
\index{Core@{Core}!eldbus\+\_\+init@{eldbus\+\_\+init}}
\index{eldbus\+\_\+init@{eldbus\+\_\+init}!Core@{Core}}
\subsubsection{\texorpdfstring{eldbus\+\_\+init()}{eldbus\_init()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int eldbus\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize eldbus. 

\begin{DoxyReturn}{Returns}
1 or greater on success, 0 otherwise 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{banshee_8c-example}{banshee.\+c}, \hyperlink{client_8c-example}{client.\+c}, \hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}, \hyperlink{complex-types-server_8c-example}{complex-\/types-\/server.\+c}, \hyperlink{complex-types_8c-example}{complex-\/types.\+c}, \hyperlink{connman-list-services_8c-example}{connman-\/list-\/services.\+c}, \hyperlink{ofono-dial_8c-example}{ofono-\/dial.\+c}, \hyperlink{server_8c-example}{server.\+c}, and \hyperlink{simple-signal-emit_8c-example}{simple-\/signal-\/emit.\+c}.\end{Desc}


References ecore\+\_\+init(), ecore\+\_\+shutdown(), eina\+\_\+hash\+\_\+iterator\+\_\+data\+\_\+new(), eina\+\_\+init(), E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH, E\+I\+N\+A\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+log\+\_\+domain\+\_\+register(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+RR, eina\+\_\+magic\+\_\+string\+\_\+set(), eina\+\_\+shutdown(), eldbus\+\_\+pending\+\_\+destination\+\_\+get(), eldbus\+\_\+pending\+\_\+interface\+\_\+get(), eldbus\+\_\+pending\+\_\+method\+\_\+get(), eldbus\+\_\+pending\+\_\+path\+\_\+get(), and E\+RR.



Referenced by elocation\+\_\+init().

\mbox{\Hypertarget{group__Eldbus__Core_ga255ee3e090da6704d009ee74ba9d8a79}\label{group__Eldbus__Core_ga255ee3e090da6704d009ee74ba9d8a79}} 
\index{Core@{Core}!eldbus\+\_\+shutdown@{eldbus\+\_\+shutdown}}
\index{eldbus\+\_\+shutdown@{eldbus\+\_\+shutdown}!Core@{Core}}
\subsubsection{\texorpdfstring{eldbus\+\_\+shutdown()}{eldbus\_shutdown()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int eldbus\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shutdown eldbus. 

\begin{DoxyReturn}{Returns}
0 if e\+\_\+dbus shuts down, greater than 0 otherwise. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{banshee_8c-example}{banshee.\+c}, \hyperlink{client_8c-example}{client.\+c}, \hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\+c}, \hyperlink{complex-types-server_8c-example}{complex-\/types-\/server.\+c}, \hyperlink{complex-types_8c-example}{complex-\/types.\+c}, \hyperlink{connman-list-services_8c-example}{connman-\/list-\/services.\+c}, \hyperlink{ofono-dial_8c-example}{ofono-\/dial.\+c}, \hyperlink{server_8c-example}{server.\+c}, and \hyperlink{simple-signal-emit_8c-example}{simple-\/signal-\/emit.\+c}.\end{Desc}


References E\+RR.



Referenced by elocation\+\_\+shutdown(), and ethumb\+\_\+client\+\_\+shutdown().

