\hypertarget{group__Eldbus__Basic}{}\doxysection{Basic Free\+Desktop.\+Org Methods}
\label{group__Eldbus__Basic}\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eldbus__FDO__Peer}{org.\+freedesktop.\+DBus.\+Peer}}
\item 
\mbox{\hyperlink{group__Eldbus__FDO__Introspectable}{org.\+freedesktop.\+DBus.\+Introspectable}}
\item 
\mbox{\hyperlink{group__Eldbus__FDO__Properties}{org.\+freedesktop.\+DBus.\+Properties}}
\item 
\mbox{\hyperlink{group__Eldbus__FDO__ObjectManager}{org.\+freedesktop.\+DBus.\+Object\+Manager $\ast$}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eldbus__Basic_ga84aa0fc12f0a7ce5abd656a0622e2070}\label{group__Eldbus__Basic_ga84aa0fc12f0a7ce5abd656a0622e2070}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_ga84aa0fc12f0a7ce5abd656a0622e2070}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+FLAG\+\_\+\+ALLOW\+\_\+\+REPLACEMENT}}~0x1
\begin{DoxyCompactList}\small\item\em Allow another service to become the primary owner if requested. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gaa261776755815a45b263fa932cb9e290}\label{group__Eldbus__Basic_gaa261776755815a45b263fa932cb9e290}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gaa261776755815a45b263fa932cb9e290}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+FLAG\+\_\+\+REPLACE\+\_\+\+EXISTING}}~0x2
\begin{DoxyCompactList}\small\item\em Request to replace the current primary owner. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_ga31878c736bc89a712bbcd27699c5b519}\label{group__Eldbus__Basic_ga31878c736bc89a712bbcd27699c5b519}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_ga31878c736bc89a712bbcd27699c5b519}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+FLAG\+\_\+\+DO\+\_\+\+NOT\+\_\+\+QUEUE}}~0x4
\begin{DoxyCompactList}\small\item\em If we can not become the primary owner do not place us in the queue. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gacf5e700a1223c56f319d6f341e8d5624}\label{group__Eldbus__Basic_gacf5e700a1223c56f319d6f341e8d5624}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gacf5e700a1223c56f319d6f341e8d5624}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+REPLY\+\_\+\+PRIMARY\+\_\+\+OWNER}}~1
\begin{DoxyCompactList}\small\item\em Service has become the primary owner of the requested name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gabcf6ebf2e6dba6278ba827ac55929e81}\label{group__Eldbus__Basic_gabcf6ebf2e6dba6278ba827ac55929e81}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gabcf6ebf2e6dba6278ba827ac55929e81}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+REPLY\+\_\+\+IN\+\_\+\+QUEUE}}~2
\begin{DoxyCompactList}\small\item\em Service could not become the primary owner and has been placed in the queue. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gabe0e4d709ea0807ef746bf64f63ca269}\label{group__Eldbus__Basic_gabe0e4d709ea0807ef746bf64f63ca269}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gabe0e4d709ea0807ef746bf64f63ca269}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+REPLY\+\_\+\+EXISTS}}~3
\begin{DoxyCompactList}\small\item\em Service is already in the queue. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gac5b2f086733c439f0b96f041d4914a41}\label{group__Eldbus__Basic_gac5b2f086733c439f0b96f041d4914a41}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gac5b2f086733c439f0b96f041d4914a41}{ELDBUS\+\_\+\+NAME\+\_\+\+REQUEST\+\_\+\+REPLY\+\_\+\+ALREADY\+\_\+\+OWNER}}~4
\begin{DoxyCompactList}\small\item\em Service is already the primary owner. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gae1a57048225658148a6a6e6245609805}\label{group__Eldbus__Basic_gae1a57048225658148a6a6e6245609805}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gae1a57048225658148a6a6e6245609805}{ELDBUS\+\_\+\+NAME\+\_\+\+RELEASE\+\_\+\+REPLY\+\_\+\+RELEASED}}~1
\begin{DoxyCompactList}\small\item\em Service was released from the given name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gaac8ea9fbea8ecf4070c65b2e41a7a562}\label{group__Eldbus__Basic_gaac8ea9fbea8ecf4070c65b2e41a7a562}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gaac8ea9fbea8ecf4070c65b2e41a7a562}{ELDBUS\+\_\+\+NAME\+\_\+\+RELEASE\+\_\+\+REPLY\+\_\+\+NON\+\_\+\+EXISTENT}}~2
\begin{DoxyCompactList}\small\item\em The given name does not exist on the bus. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gaa213f6b15d52a459eb667da820488089}\label{group__Eldbus__Basic_gaa213f6b15d52a459eb667da820488089}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gaa213f6b15d52a459eb667da820488089}{ELDBUS\+\_\+\+NAME\+\_\+\+RELEASE\+\_\+\+REPLY\+\_\+\+NOT\+\_\+\+OWNER}}~3
\begin{DoxyCompactList}\small\item\em Service is not an owner of the given name. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gad98b694693668fd25aec92c268885377}\label{group__Eldbus__Basic_gad98b694693668fd25aec92c268885377}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gad98b694693668fd25aec92c268885377}{ELDBUS\+\_\+\+NAME\+\_\+\+START\+\_\+\+REPLY\+\_\+\+SUCCESS}}~1
\begin{DoxyCompactList}\small\item\em Service was auto started. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gaa48f57c21d1e7f9664139070616b2134}\label{group__Eldbus__Basic_gaa48f57c21d1e7f9664139070616b2134}} 
\#define \mbox{\hyperlink{group__Eldbus__Basic_gaa48f57c21d1e7f9664139070616b2134}{ELDBUS\+\_\+\+NAME\+\_\+\+START\+\_\+\+REPLY\+\_\+\+ALREADY\+\_\+\+RUNNING}}~2
\begin{DoxyCompactList}\small\item\em Service was already running. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}\label{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}} 
typedef void($\ast$ \mbox{\hyperlink{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}{Eldbus\+\_\+\+Name\+\_\+\+Owner\+\_\+\+Changed\+\_\+\+Cb}}) (void $\ast$data, const char $\ast$bus, const char $\ast$old\+\_\+id, const char $\ast$new\+\_\+id)
\begin{DoxyCompactList}\small\item\em Callback called when unique id of a bus name changed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_gaa2bade82fbf17312ab03440525630ac4}{eldbus\+\_\+name\+\_\+request}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, unsigned int flags, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Request\+Name\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_ga52820add848a209019f3a1ec9cc53fd2}{eldbus\+\_\+name\+\_\+release}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Release\+Name\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_ga7a10838df33293c4cb6710f447a443c2}{eldbus\+\_\+name\+\_\+owner\+\_\+get}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Get\+Name\+Owner\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_gae13a514b8376890f6de581f6c6f437a1}{eldbus\+\_\+name\+\_\+owner\+\_\+has}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Name\+Has\+Owner\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_ga9202e546b288eb4b9431e649b1d6c1e7}{eldbus\+\_\+names\+\_\+list}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+List\+Names\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_ga3d24a7e6af0afa3a07a227daeeaa638b}{eldbus\+\_\+names\+\_\+activatable\+\_\+list}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+List\+Activatable\+Names\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_gab4ea9f883c08b46ea90f1bcf2555f8dc}{eldbus\+\_\+hello}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Hello\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}} $\ast$ \mbox{\hyperlink{group__Eldbus__Basic_ga6a47ad76f86d5e7274e4dccdb18d49c0}{eldbus\+\_\+name\+\_\+start}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, unsigned int flags, \mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Send a \char`\"{}\+Start\+Service\+By\+Name\char`\"{} method call in proxy. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+add}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, \mbox{\hyperlink{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}{Eldbus\+\_\+\+Name\+\_\+\+Owner\+\_\+\+Changed\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} allow\+\_\+initial\+\_\+call)
\begin{DoxyCompactList}\small\item\em Add a callback to be called when unique id of a bus name changed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Basic_gac3c3b6f6b54ed74cfd7cd9b0ab5cfde1}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+del}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$conn, const char $\ast$bus, \mbox{\hyperlink{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}{Eldbus\+\_\+\+Name\+\_\+\+Owner\+\_\+\+Changed\+\_\+\+Cb}} cb, const void $\ast$cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Remove callback added with \mbox{\hyperlink{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+add()}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eldbus__Basic_gaa2bade82fbf17312ab03440525630ac4}\label{group__Eldbus__Basic_gaa2bade82fbf17312ab03440525630ac4}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_request@{eldbus\_name\_request}}
\index{eldbus\_name\_request@{eldbus\_name\_request}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_request()}{eldbus\_name\_request()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+name\+\_\+request (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{unsigned int}]{flags,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Request\+Name\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em bus} & Name of the bus \\
\hline
{\em flags} & Parameter of the \char`\"{}\+Request\+Name\char`\"{} method. \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_ga52820add848a209019f3a1ec9cc53fd2}\label{group__Eldbus__Basic_ga52820add848a209019f3a1ec9cc53fd2}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_release@{eldbus\_name\_release}}
\index{eldbus\_name\_release@{eldbus\_name\_release}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_release()}{eldbus\_name\_release()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+name\+\_\+release (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Release\+Name\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em bus} & Name of the bus \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_ga7a10838df33293c4cb6710f447a443c2}\label{group__Eldbus__Basic_ga7a10838df33293c4cb6710f447a443c2}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_owner\_get@{eldbus\_name\_owner\_get}}
\index{eldbus\_name\_owner\_get@{eldbus\_name\_owner\_get}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_owner\_get()}{eldbus\_name\_owner\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+name\+\_\+owner\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Get\+Name\+Owner\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em bus} & Name of the bus \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_gae13a514b8376890f6de581f6c6f437a1}\label{group__Eldbus__Basic_gae13a514b8376890f6de581f6c6f437a1}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_owner\_has@{eldbus\_name\_owner\_has}}
\index{eldbus\_name\_owner\_has@{eldbus\_name\_owner\_has}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_owner\_has()}{eldbus\_name\_owner\_has()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+name\+\_\+owner\+\_\+has (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Name\+Has\+Owner\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em bus} & Name of the bus \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_ga9202e546b288eb4b9431e649b1d6c1e7}\label{group__Eldbus__Basic_ga9202e546b288eb4b9431e649b1d6c1e7}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_names\_list@{eldbus\_names\_list}}
\index{eldbus\_names\_list@{eldbus\_names\_list}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_names\_list()}{eldbus\_names\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+names\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+List\+Names\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_ga3d24a7e6af0afa3a07a227daeeaa638b}\label{group__Eldbus__Basic_ga3d24a7e6af0afa3a07a227daeeaa638b}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_names\_activatable\_list@{eldbus\_names\_activatable\_list}}
\index{eldbus\_names\_activatable\_list@{eldbus\_names\_activatable\_list}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_names\_activatable\_list()}{eldbus\_names\_activatable\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+names\+\_\+activatable\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+List\+Activatable\+Names\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_gab4ea9f883c08b46ea90f1bcf2555f8dc}\label{group__Eldbus__Basic_gab4ea9f883c08b46ea90f1bcf2555f8dc}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_hello@{eldbus\_hello}}
\index{eldbus\_hello@{eldbus\_hello}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_hello()}{eldbus\_hello()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+hello (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Hello\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_ga6a47ad76f86d5e7274e4dccdb18d49c0}\label{group__Eldbus__Basic_ga6a47ad76f86d5e7274e4dccdb18d49c0}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_start@{eldbus\_name\_start}}
\index{eldbus\_name\_start@{eldbus\_name\_start}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_start()}{eldbus\_name\_start()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\+\_\+\+Pending}}$\ast$ eldbus\+\_\+name\+\_\+start (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{unsigned int}]{flags,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_gaa340fffa7a61fab2d8f2a595b464abbc}{Eldbus\+\_\+\+Message\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Send a \char`\"{}\+Start\+Service\+By\+Name\char`\"{} method call in proxy. 


\begin{DoxyParams}{Parameters}
{\em conn} & Connection object. \\
\hline
{\em bus} & Name of the bus. \\
\hline
{\em flags} & Parameter of the \char`\"{}\+Start\+Service\+By\+Name\char`\"{} method. \\
\hline
{\em cb} & Callback to call when receiving answer. \\
\hline
{\em cb\+\_\+data} & Data passed to callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The Eldbus\+\_\+\+Pending corresponding to the message sent. 
\end{DoxyReturn}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL, and eldbus\+\_\+proxy\+\_\+call().

\mbox{\Hypertarget{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}\label{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_owner\_changed\_callback\_add@{eldbus\_name\_owner\_changed\_callback\_add}}
\index{eldbus\_name\_owner\_changed\_callback\_add@{eldbus\_name\_owner\_changed\_callback\_add}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_owner\_changed\_callback\_add()}{eldbus\_name\_owner\_changed\_callback\_add()}}
{\footnotesize\ttfamily void eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{\mbox{\hyperlink{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}{Eldbus\+\_\+\+Name\+\_\+\+Owner\+\_\+\+Changed\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{allow\+\_\+initial\+\_\+call }\end{DoxyParamCaption})}



Add a callback to be called when unique id of a bus name changed. 

This function implicitly calls \mbox{\hyperlink{group__Eldbus__Basic_ga7a10838df33293c4cb6710f447a443c2}{eldbus\+\_\+name\+\_\+owner\+\_\+get()}} in order to be able to monitor the name. If the only interest is to receive notifications when the name in fact changes, pass EINA\+\_\+\+FALSE to {\ttfamily allow\+\_\+initial\+\_\+call} so your callback will not be called on first retrieval of name owner. If the initial state is important, pass EINA\+\_\+\+TRUE to this parameter.


\begin{DoxyParams}{Parameters}
{\em conn} & connection \\
\hline
{\em bus} & name of bus \\
\hline
{\em cb} & callback \\
\hline
{\em cb\+\_\+data} & context data \\
\hline
{\em allow\+\_\+initial\+\_\+call} & allow call callback with actual id of the bus \\
\hline
\end{DoxyParams}


References ecore\+\_\+idle\+\_\+enterer\+\_\+add(), eina\+\_\+inlist\+\_\+append(), EINA\+\_\+\+INLIST\+\_\+\+GET, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO, and EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN.

\mbox{\Hypertarget{group__Eldbus__Basic_gac3c3b6f6b54ed74cfd7cd9b0ab5cfde1}\label{group__Eldbus__Basic_gac3c3b6f6b54ed74cfd7cd9b0ab5cfde1}} 
\index{Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}!eldbus\_name\_owner\_changed\_callback\_del@{eldbus\_name\_owner\_changed\_callback\_del}}
\index{eldbus\_name\_owner\_changed\_callback\_del@{eldbus\_name\_owner\_changed\_callback\_del}!Basic FreeDesktop.Org Methods@{Basic FreeDesktop.Org Methods}}
\doxysubsubsection{\texorpdfstring{eldbus\_name\_owner\_changed\_callback\_del()}{eldbus\_name\_owner\_changed\_callback\_del()}}
{\footnotesize\ttfamily void eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} $\ast$}]{conn,  }\item[{const char $\ast$}]{bus,  }\item[{\mbox{\hyperlink{group__Eldbus__Basic_gaf6cc4a1c66d52383e54775a59e9abb92}{Eldbus\+\_\+\+Name\+\_\+\+Owner\+\_\+\+Changed\+\_\+\+Cb}}}]{cb,  }\item[{const void $\ast$}]{cb\+\_\+data }\end{DoxyParamCaption})}



Remove callback added with \mbox{\hyperlink{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+add()}}. 


\begin{DoxyParams}{Parameters}
{\em conn} & connection \\
\hline
{\em bus} & name of bus \\
\hline
{\em cb} & callback \\
\hline
{\em cb\+\_\+data} & context data \\
\hline
\end{DoxyParams}


References ecore\+\_\+idle\+\_\+enterer\+\_\+del(), eina\+\_\+hash\+\_\+find(), EINA\+\_\+\+INLIST\+\_\+\+FOREACH, EINA\+\_\+\+INLIST\+\_\+\+GET, eina\+\_\+inlist\+\_\+remove(), eina\+\_\+list\+\_\+append(), EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN, EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN, and EINA\+\_\+\+TRUE.

