Displaying 1 result from an estimated 1 matches for "dbus_message_iter_has_next".
2006 Oct 09
1
[PATCH] dbus terminate action
...deactivate)
+ {
+ if (!option->value.action.initiate)
+ return FALSE;
+ }
+ else {
+ if (!option->value.action.terminate)
+ return FALSE;
+ }
if (dbus_message_iter_init (message, &iter))
{
@@ -238,10 +267,20 @@ dbusHandleActivateMessage (DBusConnectio
} while (dbus_message_iter_has_next (&iter));
}
- (*option->value.action.initiate) (d,
+ if (!deactivate)
+ {
+ (*option->value.action.initiate) (d,
+ &option->value.action,
+ 0,
+ argument, nArgument);
+ }
+ else
+ {
+ (*option->value.action.terminate) (d,...