\doxysubsection{Signal Handler}
\hypertarget{group__Eldbus__Signal__Handler}{}\label{group__Eldbus__Signal__Handler}\index{Signal Handler@{Signal Handler}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eldbus__Signal__Handler_gae6f61280a638c20384eb7406dfd57e53}{eldbus\+\_\+signal\+\_\+handler\+\_\+add}} (\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} \texorpdfstring{$\ast$}{*}conn, const char \texorpdfstring{$\ast$}{*}sender, const char \texorpdfstring{$\ast$}{*}path, const char \texorpdfstring{$\ast$}{*}interface, const char \texorpdfstring{$\ast$}{*}member, \mbox{\hyperlink{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}{Eldbus\+\_\+\+Signal\+\_\+\+Cb}} cb, const void \texorpdfstring{$\ast$}{*}cb\+\_\+data)
\begin{DoxyCompactList}\small\item\em Add a signal handler. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga6e69b38a5b06d5f71d6583128753d879}{eldbus\+\_\+signal\+\_\+handler\+\_\+ref}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\begin{DoxyCompactList}\small\item\em Increase signal handler reference. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919}{eldbus\+\_\+signal\+\_\+handler\+\_\+unref}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\begin{DoxyCompactList}\small\item\em Decrease signal handler reference. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Signal__Handler_gadd88fb9662d31a3bb1640dbf454544e9}{eldbus\+\_\+signal\+\_\+handler\+\_\+del}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\begin{DoxyCompactList}\small\item\em Decrease signal handler reference like \doxylink{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919}{eldbus\+\_\+signal\+\_\+handler\+\_\+unref()} but if reference \texorpdfstring{$>$}{>} 0 this signal handler will stop listening to signals. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga04f654be8ad8bd3e94cd3f725f2e04a0}{eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}sh,...) \mbox{\hyperlink{group__Eina__Types__Group_gab767b5b607b3805cb088cd4ba93e3c3b}{EINA\+\_\+\+SENTINEL}}
\begin{DoxyCompactList}\small\item\em Add extra argument in match of signal handler to obtain specifics signals. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eldbus__Signal__Handler_gaa2c32c046b21c5474a2f9eccf5bb8dc2}{eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+vset}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}sh, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Add extra argument in match of signal handler to obtain specifics signals. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5}{eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+add}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler, \mbox{\hyperlink{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}{Eldbus\+\_\+\+Free\+\_\+\+Cb}} cb, const void \texorpdfstring{$\ast$}{*}data)
\begin{DoxyCompactList}\small\item\em Add a callback function to be called when signal handler will be freed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Eldbus__Signal__Handler_gaa93015868f155013c5a740a82c79989d}{eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+del}} (\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler, \mbox{\hyperlink{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}{Eldbus\+\_\+\+Free\+\_\+\+Cb}} cb, const void \texorpdfstring{$\ast$}{*}data)
\begin{DoxyCompactList}\small\item\em Remove callback registered in \doxylink{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5}{eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+add()}. \end{DoxyCompactList}\item 
\Hypertarget{group__Eldbus__Signal__Handler_gab4167e290e6181f9ec7720b7ae4ad467}\label{group__Eldbus__Signal__Handler_gab4167e290e6181f9ec7720b7ae4ad467} 
const char \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+sender\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\item 
\Hypertarget{group__Eldbus__Signal__Handler_ga504cf9cdd5a25825c10992fb6eec049f}\label{group__Eldbus__Signal__Handler_ga504cf9cdd5a25825c10992fb6eec049f} 
const char \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+path\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\item 
\Hypertarget{group__Eldbus__Signal__Handler_gae0682385fe78ebdba70dc8d3aadc534e}\label{group__Eldbus__Signal__Handler_gae0682385fe78ebdba70dc8d3aadc534e} 
const char \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+interface\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\item 
\Hypertarget{group__Eldbus__Signal__Handler_ga86525f896abe778895add23b6767848e}\label{group__Eldbus__Signal__Handler_ga86525f896abe778895add23b6767848e} 
const char \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+member\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\item 
\Hypertarget{group__Eldbus__Signal__Handler_ga3e565f93ae383604802702debbfcd68a}\label{group__Eldbus__Signal__Handler_ga3e565f93ae383604802702debbfcd68a} 
const char \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\item 
\Hypertarget{group__Eldbus__Signal__Handler_ga90a16dd8db0e0826cc00c941610e3569}\label{group__Eldbus__Signal__Handler_ga90a16dd8db0e0826cc00c941610e3569} 
\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} \texorpdfstring{$\ast$}{*} {\bfseries eldbus\+\_\+signal\+\_\+handler\+\_\+connection\+\_\+get} (const \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}




\doxysubsubsection{Function Documentation}
\Hypertarget{group__Eldbus__Signal__Handler_gae6f61280a638c20384eb7406dfd57e53}\label{group__Eldbus__Signal__Handler_gae6f61280a638c20384eb7406dfd57e53} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_add@{eldbus\_signal\_handler\_add}}
\index{eldbus\_signal\_handler\_add@{eldbus\_signal\_handler\_add}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_add()}{eldbus\_signal\_handler\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*} eldbus\+\_\+signal\+\_\+handler\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus_ga1de8233c3e9240291bb952776810c831}{Eldbus\+\_\+\+Connection}} \texorpdfstring{$\ast$}{*}}]{conn,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{sender,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{path,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{interface,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{member,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0189553a29c9be6b84cf6d8588d884e3}{Eldbus\+\_\+\+Signal\+\_\+\+Cb}}}]{cb,  }\item[{const void \texorpdfstring{$\ast$}{*}}]{cb\+\_\+data }\end{DoxyParamCaption})}



Add a signal handler. 


\begin{DoxyParams}{Parameters}
{\em conn} & connection where the signal is emitted \\
\hline
{\em sender} & bus name or unique id of where the signal is emitted \\
\hline
{\em path} & path of remote object \\
\hline
{\em interface} & that signal belongs \\
\hline
{\em member} & name of the signal \\
\hline
{\em cb} & callback that will be called when this signal is received \\
\hline
{\em cb\+\_\+data} & data that will be passed to callback\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
signal handler 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eldbus__Connection_ga874b0b096f5d260ba1560120f80ee31e}{eldbus\+\_\+connection\+\_\+free\+\_\+cb\+\_\+add()}}, and \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5}{eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+add()}}.

\Hypertarget{group__Eldbus__Signal__Handler_ga6e69b38a5b06d5f71d6583128753d879}\label{group__Eldbus__Signal__Handler_ga6e69b38a5b06d5f71d6583128753d879} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_ref@{eldbus\_signal\_handler\_ref}}
\index{eldbus\_signal\_handler\_ref@{eldbus\_signal\_handler\_ref}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_ref()}{eldbus\_signal\_handler\_ref()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*} eldbus\+\_\+signal\+\_\+handler\+\_\+ref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler }\end{DoxyParamCaption})}



Increase signal handler reference. 


\begin{DoxyParams}{Parameters}
{\em handler} & signal handler\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the same signal handler, {\ttfamily handler} 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}.

\Hypertarget{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919}\label{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_unref@{eldbus\_signal\_handler\_unref}}
\index{eldbus\_signal\_handler\_unref@{eldbus\_signal\_handler\_unref}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_unref()}{eldbus\_signal\_handler\_unref()}}
{\footnotesize\ttfamily void eldbus\+\_\+signal\+\_\+handler\+\_\+unref (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler }\end{DoxyParamCaption})}



Decrease signal handler reference. 

If reference == 0 signal handler will be freed.


\begin{DoxyParams}{Parameters}
{\em handler} & signal handler \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Proxy_gaa0c972c94ccaf39b0ca3586c5d549af4}{eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Eldbus__FDO__Properties_gaa2a20ccdb8dfe3fae539c9366eac9fb5}{eldbus\+\_\+proxy\+\_\+properties\+\_\+monitor()}}, and \mbox{\hyperlink{group__Eldbus__Signal__Handler_gadd88fb9662d31a3bb1640dbf454544e9}{eldbus\+\_\+signal\+\_\+handler\+\_\+del()}}.

\Hypertarget{group__Eldbus__Signal__Handler_gadd88fb9662d31a3bb1640dbf454544e9}\label{group__Eldbus__Signal__Handler_gadd88fb9662d31a3bb1640dbf454544e9} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_del@{eldbus\_signal\_handler\_del}}
\index{eldbus\_signal\_handler\_del@{eldbus\_signal\_handler\_del}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_del()}{eldbus\_signal\_handler\_del()}}
{\footnotesize\ttfamily void eldbus\+\_\+signal\+\_\+handler\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler }\end{DoxyParamCaption})}



Decrease signal handler reference like \doxylink{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919}{eldbus\+\_\+signal\+\_\+handler\+\_\+unref()} but if reference \texorpdfstring{$>$}{>} 0 this signal handler will stop listening to signals. 

In other words it will be canceled but memory will not be freed.


\begin{DoxyParams}{Parameters}
{\em handler} & signal handler to delete \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga1b39e54fb712220f3e699d1ca9c6c919}{eldbus\+\_\+signal\+\_\+handler\+\_\+unref()}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga3634ea4bcd8faab23bf5774ee316a428}{eldbus\+\_\+object\+\_\+event\+\_\+callback\+\_\+del()}}.

\Hypertarget{group__Eldbus__Signal__Handler_ga04f654be8ad8bd3e94cd3f725f2e04a0}\label{group__Eldbus__Signal__Handler_ga04f654be8ad8bd3e94cd3f725f2e04a0} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_match\_extra\_set@{eldbus\_signal\_handler\_match\_extra\_set}}
\index{eldbus\_signal\_handler\_match\_extra\_set@{eldbus\_signal\_handler\_match\_extra\_set}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_match\_extra\_set()}{eldbus\_signal\_handler\_match\_extra\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{sh,  }\item[{}]{... }\end{DoxyParamCaption})}



Add extra argument in match of signal handler to obtain specifics signals. 

Example\+: eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set(sh, "{}arg0"{}, "{}org.\+bansheeproject.\+Banshee"{}, "{}arg1"{}, "{}"{}, NULL); With this extra arguments this signal handler callback only will be called when Banshee is started.

\begin{DoxyNote}{Note}
For now only argX is supported.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em sh} & signal handler \\
\hline
{\em ...} & variadic of key and value and must be ended with a NULL\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE if success
\end{DoxyReturn}
\begin{DoxyNote}{Note}
For more information\+: \href{http://dbus.freedesktop.org/doc/dbus-specification.html\#message-bus-routing-match-rules}{\texttt{ http\+://dbus.\+freedesktop.\+org/doc/dbus-\/specification.\+html\#message-\/bus-\/routing-\/match-\/rules}} 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eldbus__Signal__Handler_gaa2c32c046b21c5474a2f9eccf5bb8dc2}{eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+vset()}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}{eldbus\+\_\+object\+\_\+event\+\_\+callback\+\_\+add()}}, and \mbox{\hyperlink{group__Eldbus__FDO__Properties_ga759b380ddb23bae45b40c3ee938b5e58}{eldbus\+\_\+proxy\+\_\+properties\+\_\+changed\+\_\+callback\+\_\+add()}}.

\Hypertarget{group__Eldbus__Signal__Handler_gaa2c32c046b21c5474a2f9eccf5bb8dc2}\label{group__Eldbus__Signal__Handler_gaa2c32c046b21c5474a2f9eccf5bb8dc2} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_match\_extra\_vset@{eldbus\_signal\_handler\_match\_extra\_vset}}
\index{eldbus\_signal\_handler\_match\_extra\_vset@{eldbus\_signal\_handler\_match\_extra\_vset}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_match\_extra\_vset()}{eldbus\_signal\_handler\_match\_extra\_vset()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+vset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{sh,  }\item[{va\+\_\+list}]{ap }\end{DoxyParamCaption})}



Add extra argument in match of signal handler to obtain specifics signals. 

Example\+: eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set(sh, "{}arg0"{}, "{}org.\+bansheeproject.\+Banshee"{}, "{}arg1"{}, "{}"{}, NULL); With this extra arguments this signal handler callback only will be called when Banshee is started.

\begin{DoxyNote}{Note}
For now is only supported argX.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em sh} & signal handler \\
\hline
{\em ap} & va\+\_\+list with the keys and values, must be ended with a NULL\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE if success
\end{DoxyReturn}
\begin{DoxyNote}{Note}
To information\+: \href{http://dbus.freedesktop.org/doc/dbus-specification.html\#message-bus-routing-match-rules}{\texttt{ http\+://dbus.\+freedesktop.\+org/doc/dbus-\/specification.\+html\#message-\/bus-\/routing-\/match-\/rules}} 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\+\_\+\+INLIST\+\_\+\+GET}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gafd020a4f5483d73741c9d1b6d44b24d5}{eina\+\_\+strbuf\+\_\+string\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Signal__Handler_ga04f654be8ad8bd3e94cd3f725f2e04a0}{eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+set()}}.

\Hypertarget{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5}\label{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_free\_cb\_add@{eldbus\_signal\_handler\_free\_cb\_add}}
\index{eldbus\_signal\_handler\_free\_cb\_add@{eldbus\_signal\_handler\_free\_cb\_add}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_free\_cb\_add()}{eldbus\_signal\_handler\_free\_cb\_add()}}
{\footnotesize\ttfamily void eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}{Eldbus\+\_\+\+Free\+\_\+\+Cb}}}]{cb,  }\item[{const void \texorpdfstring{$\ast$}{*}}]{data }\end{DoxyParamCaption})}



Add a callback function to be called when signal handler will be freed. 


\begin{DoxyParams}{Parameters}
{\em handler} & signal handler \\
\hline
{\em cb} & callback that will be called when this signal handler is freed \\
\hline
{\em data} & data that will be passed to callback \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Object__Mapper_gad5c4e6619f3bbf93d94fee4de764d72e}{eldbus\+\_\+object\+\_\+signal\+\_\+handler\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Proxy_ga3ec2ab94891c39548b44135ebe275b9f}{eldbus\+\_\+proxy\+\_\+signal\+\_\+handler\+\_\+add()}}, and \mbox{\hyperlink{group__Eldbus__Signal__Handler_gae6f61280a638c20384eb7406dfd57e53}{eldbus\+\_\+signal\+\_\+handler\+\_\+add()}}.

\Hypertarget{group__Eldbus__Signal__Handler_gaa93015868f155013c5a740a82c79989d}\label{group__Eldbus__Signal__Handler_gaa93015868f155013c5a740a82c79989d} 
\index{Signal Handler@{Signal Handler}!eldbus\_signal\_handler\_free\_cb\_del@{eldbus\_signal\_handler\_free\_cb\_del}}
\index{eldbus\_signal\_handler\_free\_cb\_del@{eldbus\_signal\_handler\_free\_cb\_del}!Signal Handler@{Signal Handler}}
\doxysubsubsubsection{\texorpdfstring{eldbus\_signal\_handler\_free\_cb\_del()}{eldbus\_signal\_handler\_free\_cb\_del()}}
{\footnotesize\ttfamily void eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\+\_\+\+Signal\+\_\+\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler,  }\item[{\mbox{\hyperlink{group__Eldbus__Core_ga5877d06a497dd7ba16c343c0beff2629}{Eldbus\+\_\+\+Free\+\_\+\+Cb}}}]{cb,  }\item[{const void \texorpdfstring{$\ast$}{*}}]{data }\end{DoxyParamCaption})}



Remove callback registered in \doxylink{group__Eldbus__Signal__Handler_ga5ae76aa29a76889636bec918245232b5}{eldbus\+\_\+signal\+\_\+handler\+\_\+free\+\_\+cb\+\_\+add()}. 


\begin{DoxyParams}{Parameters}
{\em handler} & signal handler \\
\hline
{\em cb} & registered callback to remove \\
\hline
{\em data} & data that will be passed to callback \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

