From: Lukasz Skalski Date: Tue, 24 Feb 2015 12:17:08 +0000 (+0000) Subject: [kdbus] sync with kdbus (commit: 614493bfe286) 15/02/24 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fglib.git;a=commitdiff_plain;h=f71fa04a3a9a7cf39def3a9eb59b6a4b2e8d884a [kdbus] sync with kdbus (commit: 614493bfe286) 15/02/24 --- diff --git a/gio/gkdbus.c b/gio/gkdbus.c index 10becde..f70ac54 100644 --- a/gio/gkdbus.c +++ b/gio/gkdbus.c @@ -816,7 +816,7 @@ _g_kdbus_RequestName (GKDBusWorker *worker, } } - if (cmd->flags & KDBUS_NAME_IN_QUEUE) + if (cmd->return_flags & KDBUS_NAME_IN_QUEUE) status = G_BUS_REQUEST_NAME_FLAGS_IN_QUEUE; result = g_variant_new ("(u)", status); diff --git a/gio/kdbus.h b/gio/kdbus.h index 4f321eb..6cbd01c 100644 --- a/gio/kdbus.h +++ b/gio/kdbus.h @@ -457,16 +457,6 @@ struct kdbus_item { } __attribute__((__aligned__(8))); /** - * struct kdbus_item_list - A list of items - * @size: The total size of the structure - * @items: Array of items - */ -struct kdbus_item_list { - __u64 size; - struct kdbus_item items[0]; -} __attribute__((__aligned__(8))); - -/** * enum kdbus_msg_flags - type of message * @KDBUS_MSG_EXPECT_REPLY: Expect a reply message, used for * method calls. The userspace-supplied @@ -699,10 +689,10 @@ enum kdbus_hello_flags { * @id: The ID of this connection (kernel → userspace) * @pool_size: Size of the connection's buffer where the received * messages are placed - * @offset: Pool offset where additional items of type - * kdbus_item_list are stored. They contain information - * about the bus and the newly created connection. - * @items_size: Copy of item_list.size stored in @offset. + * @offset: Pool offset where items are returned to report + * additional information about the bus and the newly + * created connection. + * @items_size: Size of buffer returned in the pool slice at @offset. * @id128: Unique 128-bit ID of the bus (kernel → userspace) * @items: A list of items *