summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2014-10-25 00:40:39 +0100
committerDjalal Harouni <tixxdz@opendz.org>2014-10-25 00:40:39 +0100
commitce9aade0f8e5ec19c2512ca1f67a27642a4995d8 (patch)
tree7247f7503209e82c66267a2cc5ff72f0510eddd3
parent56bbeb9355546c3a688843552ba9df03e823ab00 (diff)
downloadkdbus-bus-ce9aade0f8e5ec19c2512ca1f67a27642a4995d8.tar.gz
kdbus-bus-ce9aade0f8e5ec19c2512ca1f67a27642a4995d8.tar.bz2
kdbus-bus-ce9aade0f8e5ec19c2512ca1f67a27642a4995d8.zip
doc: the well-known name in kdbus_cmd_info is passed in the item list
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
-rw-r--r--kdbus.h5
-rw-r--r--kdbus.txt4
2 files changed, 5 insertions, 4 deletions
diff --git a/kdbus.h b/kdbus.h
index f8d4b116514..4c5f341cf0f 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 846d195561f..00ee9dd9fa7 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.
};