\hypertarget{group__Eldbus__Message}{}\section{Message}
\label{group__Eldbus__Message}\index{Message@{Message}}
\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eldbus__Message__Iter}{Iterator}
\item 
\hyperlink{group__Eina__Value}{Eina\+\_\+\+Value to/from Message}
\item 
\hyperlink{group__Eldbus__Message__Helpers}{Message Helpers}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}{eldbus\+\_\+message\+\_\+ref} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Increase message reference. \end{DoxyCompactList}\item 
void \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Decrease message reference. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}{eldbus\+\_\+message\+\_\+path\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message path. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}{eldbus\+\_\+message\+\_\+interface\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message interface. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}{eldbus\+\_\+message\+\_\+member\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message member. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}{eldbus\+\_\+message\+\_\+destination\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message destination. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}{eldbus\+\_\+message\+\_\+sender\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message sender. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}{eldbus\+\_\+message\+\_\+signature\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message signature. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new} (const char $\ast$dest, const char $\ast$path, const char $\ast$iface, const char $\ast$method)
\begin{DoxyCompactList}\small\item\em Create a new message to invoke a method on a remote object. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_gaa43218f24e0d377a335f6a038fc76bb7}{eldbus\+\_\+message\+\_\+signal\+\_\+new} (const char $\ast$path, const char $\ast$interface, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Create a new signal message. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}{eldbus\+\_\+message\+\_\+error\+\_\+new} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$error\+\_\+name, const char $\ast$error\+\_\+msg)
\begin{DoxyCompactList}\small\item\em Create a new message that is an error reply to another message. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Create a message that is a reply to a method call. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}{eldbus\+\_\+message\+\_\+error\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$$\ast$name, const char $\ast$$\ast$text)
\begin{DoxyCompactList}\small\item\em Get the error text and name from a Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature,...)
\begin{DoxyCompactList}\small\item\em Get the arguments from an Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}{eldbus\+\_\+message\+\_\+arguments\+\_\+vget} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Get the arguments from an Eldbus\+\_\+\+Message using a va\+\_\+list. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature,...)
\begin{DoxyCompactList}\small\item\em Append arguments into an Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Append arguments into an Eldbus\+\_\+\+Message using a va\+\_\+list. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+ref@{eldbus\+\_\+message\+\_\+ref}}
\index{eldbus\+\_\+message\+\_\+ref@{eldbus\+\_\+message\+\_\+ref}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+ref(\+Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_ref(Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+ref (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}{}\label{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}


Increase message reference. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previous Eldbus\+\_\+\+Message with incremented refcount. 
\end{DoxyReturn}


References D\+BG, E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+C\+O\+N\+T\+A\+I\+N\+E\+R\+\_\+\+G\+ET, and \+\_\+\+Eina\+\_\+\+Inlist\+::next.

\index{Message@{Message}!eldbus\+\_\+message\+\_\+unref@{eldbus\+\_\+message\+\_\+unref}}
\index{eldbus\+\_\+message\+\_\+unref@{eldbus\+\_\+message\+\_\+unref}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+unref(\+Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_unref(Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}void eldbus\+\_\+message\+\_\+unref (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{}\label{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}


Decrease message reference. 

When refcount reaches zero the message and all its resources will be freed.


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}


References D\+BG, E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+N\+O\+NE, and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+ET.



Referenced by eldbus\+\_\+connection\+\_\+send(), eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new(), eldbus\+\_\+pending\+\_\+data\+\_\+del(), eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new(), eldbus\+\_\+proxy\+\_\+property\+\_\+set(), eldbus\+\_\+proxy\+\_\+property\+\_\+value\+\_\+set(), eldbus\+\_\+service\+\_\+interface\+\_\+fallback\+\_\+register2(), eldbus\+\_\+service\+\_\+object\+\_\+unregister(), eldbus\+\_\+service\+\_\+signal\+\_\+emit(), eldbus\+\_\+shutdown(), elocation\+\_\+address\+\_\+to\+\_\+position(), elocation\+\_\+landmarks\+\_\+get(), and elocation\+\_\+position\+\_\+to\+\_\+address().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+path\+\_\+get@{eldbus\+\_\+message\+\_\+path\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+path\+\_\+get@{eldbus\+\_\+message\+\_\+path\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+path\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_path_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+path\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}{}\label{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}


Get the Eldbus message path. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message path. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+interface\+\_\+get@{eldbus\+\_\+message\+\_\+interface\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+interface\+\_\+get@{eldbus\+\_\+message\+\_\+interface\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+interface\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_interface_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+interface\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}{}\label{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}


Get the Eldbus message interface. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message interface. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+member\+\_\+get@{eldbus\+\_\+message\+\_\+member\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+member\+\_\+get@{eldbus\+\_\+message\+\_\+member\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+member\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_member_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+member\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}{}\label{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}


Get the Eldbus message member. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message member. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+destination\+\_\+get@{eldbus\+\_\+message\+\_\+destination\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+destination\+\_\+get@{eldbus\+\_\+message\+\_\+destination\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+destination\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_destination_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+destination\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}{}\label{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}


Get the Eldbus message destination. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message destination. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+sender\+\_\+get@{eldbus\+\_\+message\+\_\+sender\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+sender\+\_\+get@{eldbus\+\_\+message\+\_\+sender\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+sender\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_sender_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+sender\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}{}\label{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}


Get the Eldbus message sender. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message sender. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+signature\+\_\+get@{eldbus\+\_\+message\+\_\+signature\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+signature\+\_\+get@{eldbus\+\_\+message\+\_\+signature\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+signature\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_signature_get(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+signature\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}{}\label{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}


Get the Eldbus message signature. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message signature. 
\end{DoxyReturn}
\index{Message@{Message}!eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new(const char $\ast$dest, const char $\ast$path, const char $\ast$iface, const char $\ast$method)}{eldbus_message_method_call_new(const char *dest, const char *path, const char *iface, const char *method)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{dest, }
\item[{const char $\ast$}]{path, }
\item[{const char $\ast$}]{iface, }
\item[{const char $\ast$}]{method}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}{}\label{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}


Create a new message to invoke a method on a remote object. 


\begin{DoxyParams}{Parameters}
{\em dest} & bus name or unique id of the remote application \\
\hline
{\em path} & object path \\
\hline
{\em iface} & interface name \\
\hline
{\em method} & name of the method to be called\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+UE, eldbus\+\_\+message\+\_\+unref(), and E\+RR.



Referenced by eldbus\+\_\+object\+\_\+method\+\_\+call\+\_\+new(), and eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+signal\+\_\+new@{eldbus\+\_\+message\+\_\+signal\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+signal\+\_\+new@{eldbus\+\_\+message\+\_\+signal\+\_\+new}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+signal\+\_\+new(const char $\ast$path, const char $\ast$interface, const char $\ast$name)}{eldbus_message_signal_new(const char *path, const char *interface, const char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+signal\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path, }
\item[{const char $\ast$}]{interface, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_gaa43218f24e0d377a335f6a038fc76bb7}{}\label{group__Eldbus__Message_gaa43218f24e0d377a335f6a038fc76bb7}


Create a new signal message. 


\begin{DoxyParams}{Parameters}
{\em path} & object path \\
\hline
{\em iface} & interface name \\
\hline
{\em name} & name of the signal to be broadcasted\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()}
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+16 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.



Referenced by eldbus\+\_\+service\+\_\+interface\+\_\+fallback\+\_\+register2(), and eldbus\+\_\+service\+\_\+signal\+\_\+new().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+error\+\_\+new@{eldbus\+\_\+message\+\_\+error\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+error\+\_\+new@{eldbus\+\_\+message\+\_\+error\+\_\+new}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+error\+\_\+new(const Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$error\+\_\+name, const char $\ast$error\+\_\+msg)}{eldbus_message_error_new(const Eldbus_Message *msg, const char *error_name, const char *error_msg)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+error\+\_\+new (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{error\+\_\+name, }
\item[{const char $\ast$}]{error\+\_\+msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}{}\label{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}


Create a new message that is an error reply to another message. 


\begin{DoxyParams}{Parameters}
{\em msg} & the message we\textquotesingle{}re replying to \\
\hline
{\em error\+\_\+name} & the error name \\
\hline
{\em error\+\_\+msg} & the error message string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.



Referenced by eldbus\+\_\+connection\+\_\+send(), eldbus\+\_\+pending\+\_\+cancel(), and eldbus\+\_\+service\+\_\+object\+\_\+unregister().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new(const Eldbus\+\_\+\+Message $\ast$msg)}{eldbus_message_method_return_new(const Eldbus_Message *msg)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}{}\label{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}


Create a message that is a reply to a method call. 


\begin{DoxyParams}{Parameters}
{\em msg} & the message we\textquotesingle{}re replying to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\index{Message@{Message}!eldbus\+\_\+message\+\_\+error\+\_\+get@{eldbus\+\_\+message\+\_\+error\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+error\+\_\+get@{eldbus\+\_\+message\+\_\+error\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+error\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$$\ast$name, const char $\ast$$\ast$text)}{eldbus_message_error_get(const Eldbus_Message *msg, const char **name, const char **text)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+error\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$$\ast$}]{name, }
\item[{const char $\ast$$\ast$}]{text}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}{}\label{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}


Get the error text and name from a Eldbus\+\_\+\+Message. 

If 
\begin{DoxyParams}{Parameters}
{\em msg} & is an error message return E\+I\+N\+A\+\_\+\+T\+R\+UE and fill in the name and text of the error.\\
\hline
{\em msg} & The message containing the error \\
\hline
{\em name} & Variable in which to store the error name or {\ttfamily N\+U\+LL} if it\textquotesingle{}s not desired. \\
\hline
{\em text} & Variable in which to store the error text or {\ttfamily N\+U\+LL} if it\textquotesingle{}s not desired. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE on success, else E\+I\+N\+A\+\_\+\+F\+A\+L\+SE. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, E\+I\+N\+A\+\_\+\+T\+R\+UE, eldbus\+\_\+message\+\_\+iter\+\_\+arguments\+\_\+vget(), and eldbus\+\_\+message\+\_\+iter\+\_\+get().



Referenced by eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add(), eldbus\+\_\+shutdown(), ethumb\+\_\+client\+\_\+ethumb\+\_\+setup(), and ethumb\+\_\+client\+\_\+on\+\_\+server\+\_\+die\+\_\+callback\+\_\+set().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+get@{eldbus\+\_\+message\+\_\+arguments\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+get@{eldbus\+\_\+message\+\_\+arguments\+\_\+get}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+arguments\+\_\+get(const Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$signature,...)}{eldbus_message_arguments_get(const Eldbus_Message *msg, const char *signature,...)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{}]{...}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{}\label{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}


Get the arguments from an Eldbus\+\_\+\+Message. 

Get the arguments of an Eldbus\+\_\+\+Message storing them in the locations pointed to by the pointer arguments that follow param signature. Each pointer argument must be of a type that is appropriate for the correspondent complete type in param signature. For complex types such as arrays, structs, dictionaries or variants, a pointer to Eldbus\+\_\+\+Message\+\_\+\+Iter$\ast$ must be provided.


\begin{DoxyParams}{Parameters}
{\em msg} & The message to get the arguments from. \\
\hline
{\em signature} & The signature of the arguments user is expecting to read from \\
\hline
{\em msg} & \\
\hline
{\em ...} & The pointers in which to store the message arguments\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE if the arguments were read successfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.



Referenced by eldbus\+\_\+object\+\_\+free\+\_\+cb\+\_\+del(), eldbus\+\_\+proxy\+\_\+data\+\_\+del(), eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add(), eldbus\+\_\+shutdown(), ethumb\+\_\+client\+\_\+ethumb\+\_\+setup(), and ethumb\+\_\+client\+\_\+on\+\_\+server\+\_\+die\+\_\+callback\+\_\+set().

\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+vget@{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+vget@{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+arguments\+\_\+vget(const Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$signature, va\+\_\+list ap)}{eldbus_message_arguments_vget(const Eldbus_Message *msg, const char *signature, va_list ap)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+vget (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{va\+\_\+list}]{ap}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}{}\label{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}


Get the arguments from an Eldbus\+\_\+\+Message using a va\+\_\+list. 


\begin{DoxyParams}{Parameters}
{\em msg} & The message to get the arguments from. \\
\hline
{\em signature} & The signature user is expecting to read from param msg. \\
\hline
{\em ap} & The va\+\_\+list containing the pointer arguments.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE if the arguments were read successfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+inlist\+\_\+append(), E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+G\+ET, E\+I\+N\+A\+\_\+\+T\+R\+UE, and E\+RR.

\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+append@{eldbus\+\_\+message\+\_\+arguments\+\_\+append}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+append@{eldbus\+\_\+message\+\_\+arguments\+\_\+append}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+arguments\+\_\+append(\+Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$signature,...)}{eldbus_message_arguments_append(Eldbus_Message *msg, const char *signature,...)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+append (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{}]{...}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{}\label{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}


Append arguments into an Eldbus\+\_\+\+Message. 

Append arguments into an Eldbus\+\_\+\+Message according to the param signature provided. For each complete type in param signature, a value of the corresponding type must be provided.

This function supports only basic types. For complex types use eldbus\+\_\+message\+\_\+iter\+\_\+$\ast$ family of functions.


\begin{DoxyParams}{Parameters}
{\em msg} & The message in which arguments are being appended. \\
\hline
{\em signature} & Signature of the arguments that are being appended. \\
\hline
{\em ...} & Values of each argument to append in param msg.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE on success, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE otherwise. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+vappend@{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend@{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}!Message@{Message}}
\subsubsection[{\texorpdfstring{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend(\+Eldbus\+\_\+\+Message $\ast$msg, const char $\ast$signature, va\+\_\+list ap)}{eldbus_message_arguments_vappend(Eldbus_Message *msg, const char *signature, va_list ap)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+vappend (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{va\+\_\+list}]{ap}
\end{DoxyParamCaption}
)}\hypertarget{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}{}\label{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}


Append arguments into an Eldbus\+\_\+\+Message using a va\+\_\+list. 


\begin{DoxyParams}{Parameters}
{\em msg} & The message in which arguments are being appended. \\
\hline
{\em signature} & Signature of the arguments that are being appended. \\
\hline
{\em ap} & The va\+\_\+list containing the arguments to append.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append()}.
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+UE on success, E\+I\+N\+A\+\_\+\+F\+A\+L\+SE otherwise. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.



Referenced by eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new(), and eldbus\+\_\+service\+\_\+signal\+\_\+emit().

