summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorMarius Vollmer <marius.vollmer@redhat.com>2013-01-14 17:10:01 +0100
committerStef Walter <stefw@gnome.org>2013-01-18 10:57:52 +0100
commit2cc33250d2f90c4b123085944f0f96a451e1ba95 (patch)
tree26134402aaa5dcbaea2aa52ee26d6e6683820cbd /dbus
parentc1e52fa23902968958c25a486fe32e258380b50e (diff)
Implement support for Service.Cancel() method
* Tag each GDBusMethodInvocation with a GCancellable which is placed in a hash table by operation_id. * When Cancel() is called, lookup the GCancellable and cancel it. * Move the connection filter, authorization code, and other invocation related code into its own file. This is the only thread aware code in the daemon, so putting in it one place on its own makes sense. * Remove the frob-package-set tool as there was just too many intermingled dependencies on the service daemon code. * Make Ctrl-C in the client send a Cancel() to the service https://bugs.freedesktop.org/show_bug.cgi?id=57614
Diffstat (limited to 'dbus')
-rw-r--r--dbus/realm-dbus-constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/realm-dbus-constants.h b/dbus/realm-dbus-constants.h
index 0292b91..727f88f 100644
--- a/dbus/realm-dbus-constants.h
+++ b/dbus/realm-dbus-constants.h
@@ -44,6 +44,7 @@ G_BEGIN_DECLS
#define REALM_DBUS_ERROR_ALREADY_CONFIGURED "org.freedesktop.realmd.Error.AlreadyConfigured"
#define REALM_DBUS_ERROR_NOT_CONFIGURED "org.freedesktop.realmd.Error.NotConfigured"
#define REALM_DBUS_ERROR_AUTH_FAILED "org.freedesktop.realmd.Error.AuthenticationFailed"
+#define REALM_DBUS_ERROR_CANCELLED "org.freedesktop.realmd.Error.Cancelled"
#define REALM_DBUS_DISCOVERY_DOMAIN "domain"
#define REALM_DBUS_DISCOVERY_KDCS "kerberos-kdcs"