\hypertarget{group__Eldbus__Message}{}\doxysection{Message}
\label{group__Eldbus__Message}\index{Message@{Message}}
\doxysubsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eldbus__Message__Iter}{Iterator}}
\item 
\mbox{\hyperlink{group__Eina__Value}{Eina\+\_\+\+Value to/from Message}}
\item 
\mbox{\hyperlink{group__Eldbus__Message__Helpers}{Message Helpers}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ \mbox{\hyperlink{group__Eldbus__Message_ga0fa8b384c6d847a1a7fd6b834860c0ef}{eldbus\+\_\+message\+\_\+ref}} (\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Increase message reference. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref}} (\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Decrease message reference. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Eldbus__Message_gaa2cc9a75632b353955c6b12ddbcc3413}{eldbus\+\_\+message\+\_\+path\+\_\+get}} (const \mbox{\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$ \mbox{\hyperlink{group__Eldbus__Message_ga8ec98ec4552c6f273eeb9b8c79b2ecee}{eldbus\+\_\+message\+\_\+interface\+\_\+get}} (const \mbox{\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$ \mbox{\hyperlink{group__Eldbus__Message_gabcb1a461c2072e314619e63f933667be}{eldbus\+\_\+message\+\_\+member\+\_\+get}} (const \mbox{\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$ \mbox{\hyperlink{group__Eldbus__Message_ga932ad932d32fc9d6b81aee65b0d4e05f}{eldbus\+\_\+message\+\_\+destination\+\_\+get}} (const \mbox{\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$ \mbox{\hyperlink{group__Eldbus__Message_gac45d8c40492184a8b030ce682c63173f}{eldbus\+\_\+message\+\_\+sender\+\_\+get}} (const \mbox{\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$ \mbox{\hyperlink{group__Eldbus__Message_ga912537c7cf642cdde6d8a7fda1cc25b1}{eldbus\+\_\+message\+\_\+signature\+\_\+get}} (const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message signature. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ \mbox{\hyperlink{group__Eldbus__Message_ga83d0f45b71ff842ca64a3de6a79ac3e4}{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 
\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ \mbox{\hyperlink{group__Eldbus__Message_gaaa780a6947c0523794ec06275a8abfa8}{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 
\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ \mbox{\hyperlink{group__Eldbus__Message_gab8017df9740d700df09df71c21bf4ce7}{eldbus\+\_\+message\+\_\+error\+\_\+new}} (const \mbox{\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 
\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ \mbox{\hyperlink{group__Eldbus__Message_ga6cc5bf4cbd950c9e87950bf831a86fa4}{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}{eldbus\+\_\+message\+\_\+error\+\_\+get}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}} (const \mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append}} (\mbox{\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 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}} (\mbox{\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}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eldbus__Message_ga0fa8b384c6d847a1a7fd6b834860c0ef}\label{group__Eldbus__Message_ga0fa8b384c6d847a1a7fd6b834860c0ef}} 
\index{Message@{Message}!eldbus\_message\_ref@{eldbus\_message\_ref}}
\index{eldbus\_message\_ref@{eldbus\_message\_ref}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_ref()}{eldbus\_message\_ref()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ eldbus\+\_\+message\+\_\+ref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}\label{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}} 
\index{Message@{Message}!eldbus\_message\_unref@{eldbus\_message\_unref}}
\index{eldbus\_message\_unref@{eldbus\_message\_unref}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_unref()}{eldbus\_message\_unref()}}
{\footnotesize\ttfamily void eldbus\+\_\+message\+\_\+unref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eina__Magic__Group_ga087a0d5a1e482da550b33fe4fcb0435f}{EINA\+\_\+\+MAGIC\+\_\+\+NONE}}, and \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Message_ga83d0f45b71ff842ca64a3de6a79ac3e4}{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new()}}, \mbox{\hyperlink{group__Eldbus__FDO__Properties_ga044506d72ae44106a21d6576d64e0a06}{eldbus\+\_\+proxy\+\_\+property\+\_\+set()}}, \mbox{\hyperlink{group__Eldbus__FDO__Properties_ga645e2229c72bc0b587f991fb2b9e1493}{eldbus\+\_\+proxy\+\_\+property\+\_\+value\+\_\+set()}}, and \mbox{\hyperlink{group__Eldbus__Service_ga710a0428a3bb8d0f436a030272c9f82b}{eldbus\+\_\+service\+\_\+signal\+\_\+emit()}}.

\mbox{\Hypertarget{group__Eldbus__Message_gaa2cc9a75632b353955c6b12ddbcc3413}\label{group__Eldbus__Message_gaa2cc9a75632b353955c6b12ddbcc3413}} 
\index{Message@{Message}!eldbus\_message\_path\_get@{eldbus\_message\_path\_get}}
\index{eldbus\_message\_path\_get@{eldbus\_message\_path\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_path\_get()}{eldbus\_message\_path\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_ga8ec98ec4552c6f273eeb9b8c79b2ecee}\label{group__Eldbus__Message_ga8ec98ec4552c6f273eeb9b8c79b2ecee}} 
\index{Message@{Message}!eldbus\_message\_interface\_get@{eldbus\_message\_interface\_get}}
\index{eldbus\_message\_interface\_get@{eldbus\_message\_interface\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_interface\_get()}{eldbus\_message\_interface\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+interface\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_gabcb1a461c2072e314619e63f933667be}\label{group__Eldbus__Message_gabcb1a461c2072e314619e63f933667be}} 
\index{Message@{Message}!eldbus\_message\_member\_get@{eldbus\_message\_member\_get}}
\index{eldbus\_message\_member\_get@{eldbus\_message\_member\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_member\_get()}{eldbus\_message\_member\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+member\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_ga932ad932d32fc9d6b81aee65b0d4e05f}\label{group__Eldbus__Message_ga932ad932d32fc9d6b81aee65b0d4e05f}} 
\index{Message@{Message}!eldbus\_message\_destination\_get@{eldbus\_message\_destination\_get}}
\index{eldbus\_message\_destination\_get@{eldbus\_message\_destination\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_destination\_get()}{eldbus\_message\_destination\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+destination\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_gac45d8c40492184a8b030ce682c63173f}\label{group__Eldbus__Message_gac45d8c40492184a8b030ce682c63173f}} 
\index{Message@{Message}!eldbus\_message\_sender\_get@{eldbus\_message\_sender\_get}}
\index{eldbus\_message\_sender\_get@{eldbus\_message\_sender\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_sender\_get()}{eldbus\_message\_sender\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+sender\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_ga912537c7cf642cdde6d8a7fda1cc25b1}\label{group__Eldbus__Message_ga912537c7cf642cdde6d8a7fda1cc25b1}} 
\index{Message@{Message}!eldbus\_message\_signature\_get@{eldbus\_message\_signature\_get}}
\index{eldbus\_message\_signature\_get@{eldbus\_message\_signature\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_signature\_get()}{eldbus\_message\_signature\_get()}}
{\footnotesize\ttfamily const char $\ast$ eldbus\+\_\+message\+\_\+signature\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eldbus__Message_ga83d0f45b71ff842ca64a3de6a79ac3e4}\label{group__Eldbus__Message_ga83d0f45b71ff842ca64a3de6a79ac3e4}} 
\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}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_method\_call\_new()}{eldbus\_message\_method\_call\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{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})}



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 \mbox{\hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()}} 
\end{DoxyReturn}


References \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__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Object__Mapper_gada111b44f14573b1305a415b8376c607}{eldbus\+\_\+object\+\_\+method\+\_\+call\+\_\+new()}}, and \mbox{\hyperlink{group__Eldbus__Proxy_gacec54383c19900dc53fd443e4c122c6e}{eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new()}}.

\mbox{\Hypertarget{group__Eldbus__Message_gaaa780a6947c0523794ec06275a8abfa8}\label{group__Eldbus__Message_gaaa780a6947c0523794ec06275a8abfa8}} 
\index{Message@{Message}!eldbus\_message\_signal\_new@{eldbus\_message\_signal\_new}}
\index{eldbus\_message\_signal\_new@{eldbus\_message\_signal\_new}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_signal\_new()}{eldbus\_message\_signal\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{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})}



Create a new signal message. 


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


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gae7cf7b1d66fa9022242e09fd53c06bb2}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Service_ga7b736920a3d57d8dcedb9a348b970596}{eldbus\+\_\+service\+\_\+signal\+\_\+new()}}.

\mbox{\Hypertarget{group__Eldbus__Message_gab8017df9740d700df09df71c21bf4ce7}\label{group__Eldbus__Message_gab8017df9740d700df09df71c21bf4ce7}} 
\index{Message@{Message}!eldbus\_message\_error\_new@{eldbus\_message\_error\_new}}
\index{eldbus\_message\_error\_new@{eldbus\_message\_error\_new}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_error\_new()}{eldbus\_message\_error\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ eldbus\+\_\+message\+\_\+error\+\_\+new (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$}]{error\+\_\+name,  }\item[{const char $\ast$}]{error\+\_\+msg }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()}} 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Pending_gab53769e946f58c13220739636d4fdf81}{eldbus\+\_\+pending\+\_\+cancel()}}.

\mbox{\Hypertarget{group__Eldbus__Message_ga6cc5bf4cbd950c9e87950bf831a86fa4}\label{group__Eldbus__Message_ga6cc5bf4cbd950c9e87950bf831a86fa4}} 
\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}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_method\_return\_new()}{eldbus\_message\_method\_return\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$ eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg }\end{DoxyParamCaption})}



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 \mbox{\hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()}} 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}\label{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}} 
\index{Message@{Message}!eldbus\_message\_error\_get@{eldbus\_message\_error\_get}}
\index{eldbus\_message\_error\_get@{eldbus\_message\_error\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_error\_get()}{eldbus\_message\_error\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+error\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$$\ast$}]{name,  }\item[{const char $\ast$$\ast$}]{text }\end{DoxyParamCaption})}



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

If
\begin{DoxyParams}{Parameters}
{\em msg} & is an error message return EINA\+\_\+\+TRUE 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 NULL} if it\textquotesingle{}s not desired. \\
\hline
{\em text} & Variable in which to store the error text or {\ttfamily NULL} if it\textquotesingle{}s not desired. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE on success, else EINA\+\_\+\+FALSE. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}\label{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}} 
\index{Message@{Message}!eldbus\_message\_arguments\_get@{eldbus\_message\_arguments\_get}}
\index{eldbus\_message\_arguments\_get@{eldbus\_message\_arguments\_get}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_arguments\_get()}{eldbus\_message\_arguments\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+arguments\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$}]{signature,  }\item[{}]{... }\end{DoxyParamCaption})}



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}
EINA\+\_\+\+TRUE if the arguments were read successfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}\label{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}} 
\index{Message@{Message}!eldbus\_message\_arguments\_vget@{eldbus\_message\_arguments\_vget}}
\index{eldbus\_message\_arguments\_vget@{eldbus\_message\_arguments\_vget}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_arguments\_vget()}{eldbus\_message\_arguments\_vget()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+arguments\+\_\+vget (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$}]{signature,  }\item[{va\+\_\+list}]{ap }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get()}}
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE if the arguments were read successfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}\label{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}} 
\index{Message@{Message}!eldbus\_message\_arguments\_append@{eldbus\_message\_arguments\_append}}
\index{eldbus\_message\_arguments\_append@{eldbus\_message\_arguments\_append}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_arguments\_append()}{eldbus\_message\_arguments\_append()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+arguments\+\_\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$}]{signature,  }\item[{}]{... }\end{DoxyParamCaption})}



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}
EINA\+\_\+\+TRUE on success, EINA\+\_\+\+FALSE otherwise. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}\label{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}} 
\index{Message@{Message}!eldbus\_message\_arguments\_vappend@{eldbus\_message\_arguments\_vappend}}
\index{eldbus\_message\_arguments\_vappend@{eldbus\_message\_arguments\_vappend}!Message@{Message}}
\doxysubsubsection{\texorpdfstring{eldbus\_message\_arguments\_vappend()}{eldbus\_message\_arguments\_vappend()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+message\+\_\+arguments\+\_\+vappend (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message}} $\ast$}]{msg,  }\item[{const char $\ast$}]{signature,  }\item[{va\+\_\+list}]{ap }\end{DoxyParamCaption})}



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}
\mbox{\hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append()}}.
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE on success, EINA\+\_\+\+FALSE otherwise. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Service_ga710a0428a3bb8d0f436a030272c9f82b}{eldbus\+\_\+service\+\_\+signal\+\_\+emit()}}.

