From: Djalal Harouni Date: Fri, 24 Oct 2014 23:40:39 +0000 (+0100) Subject: doc: the well-known name in kdbus_cmd_info is passed in the item list X-Git-Tag: upstream/0.20141102.012929utc~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce9aade0f8e5ec19c2512ca1f67a27642a4995d8;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git doc: the well-known name in kdbus_cmd_info is passed in the item list Signed-off-by: Djalal Harouni --- diff --git a/kdbus.h b/kdbus.h index f8d4b11..4c5f341 100644 --- a/kdbus.h +++ b/kdbus.h @@ -731,8 +731,9 @@ struct kdbus_name_list { * @offset: Returned offset in the caller's pool buffer where the * kdbus_info struct result is stored. The user must * use KDBUS_CMD_FREE to free the allocated memory. - * @name: The optional well-known name to look up. Only needed in - * case @id is zero. + * @items: The optional item list, containing the + * well-known name to look up as a KDBUS_ITEM_NAME. + * Only needed in case @id is zero. * * On success, the KDBUS_CMD_CONN_INFO ioctl will return 0 and @offset will * tell the user the offset in the connection pool buffer at which to find the diff --git a/kdbus.txt b/kdbus.txt index 846d195..00ee9dd 100644 --- a/kdbus.txt +++ b/kdbus.txt @@ -568,8 +568,8 @@ struct kdbus_cmd_info { information inside the caller's pool. struct kdbus_item items[0]; - The name of the connection to retrieve information for, stored in an item - of type KDBUS_ITEM_NAME. Only required at if the 'id' field is set to 0. + The optional item list, containing the well-known name to look up as + a KDBUS_ITEM_NAME. Only required if the 'id' field is set to 0. All other items are currently ignored. };