[kdbus] Add G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE flag
authorLukasz Skalski <l.skalski@samsung.com>
Wed, 22 Oct 2014 10:40:55 +0000 (10:40 +0000)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:43 +0000 (11:47 +0200)
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

gio/gioenums.h

index 407f50f..1d4c7c2 100644 (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_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.
+ * @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().
  *
@@ -944,7 +945,8 @@ typedef enum
 {
   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_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;
 
 /**