[kdbus] Add G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE flag

New flag is equivalent to DBUS_NAME_FLAG_DO_NOT_QUEUE flag from
dbus-1 specification [1].

[1] http://dbus.freedesktop.org/doc/dbus-specification.html

Change-Id: I8a50aa586abd5b0ffcbc0bdc41c2e98c18a2e18a
This commit is contained in:
Lukasz Skalski
2014-10-22 10:40:55 +00:00
committed by Ryan Lortie
parent 293d7ae07a
commit f85bce5b98

View File

@@ -935,6 +935,7 @@ typedef enum
* @G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: Allow another message bus connection to claim the name. * @G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: Allow another message bus connection to claim the name.
* @G_BUS_NAME_OWNER_FLAGS_REPLACE: If another message bus connection owns the name and have * @G_BUS_NAME_OWNER_FLAGS_REPLACE: If another message bus connection owns the name and have
* specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection. * specified #G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection.
* @G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: Do not place message bus connection in a queue to own the name.
* *
* Flags used in g_bus_own_name(). * Flags used in g_bus_own_name().
* *
@@ -944,7 +945,8 @@ typedef enum
{ {
G_BUS_NAME_OWNER_FLAGS_NONE = 0, /*< nick=none >*/ G_BUS_NAME_OWNER_FLAGS_NONE = 0, /*< nick=none >*/
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1<<0), /*< nick=allow-replacement >*/ G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1<<0), /*< nick=allow-replacement >*/
G_BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1) /*< nick=replace >*/ G_BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1), /*< nick=replace >*/
G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE = (1<<2) /*< nick=do-not-queue >*/
} GBusNameOwnerFlags; } GBusNameOwnerFlags;
/** /**