kdbus.h: rename kdbus_reply → kdbus_msg_info (API break)
authorDaniel Mack <daniel@zonque.org>
Wed, 7 Jan 2015 19:41:08 +0000 (20:41 +0100)
committerDaniel Mack <daniel@zonque.org>
Wed, 7 Jan 2015 19:43:56 +0000 (20:43 +0100)
Rename struct kdbus_reply and call it kdbus_msg_info, as the old
name didn't describe well what the struct is used for.

Signed-off-by: Daniel Mack <daniel@zonque.org>
kdbus.h

diff --git a/kdbus.h b/kdbus.h
index 495c1b63adc68ef35cd7e228a681b33ae4b1767a..e9d9c9f31b367c0bd371139c27f89c0f57b69e3d 100644 (file)
--- a/kdbus.h
+++ b/kdbus.h
@@ -463,12 +463,12 @@ struct kdbus_msg {
 } __attribute__((aligned(8)));
 
 /**
- * struct kdbus_reply - reply container
+ * struct kdbus_msg_info - returned message container
  * @offset:            Offset of kdbus_msg slice in pool
  * @msg_size:          Copy of the kdbus_msg.size field
  * @return_flags:      Command return flags, kernel → userspace
  */
-struct kdbus_reply {
+struct kdbus_msg_info {
        __u64 offset;
        __u64 msg_size;
        __u64 return_flags;
@@ -509,7 +509,7 @@ struct kdbus_cmd_send {
        __u64 kernel_msg_flags;
        __u64 return_flags;
        __u64 msg_address;
-       struct kdbus_reply reply;
+       struct kdbus_msg_info reply;
        struct kdbus_item items[0];
 } __attribute__((aligned(8)));
 
@@ -566,7 +566,7 @@ struct kdbus_cmd_recv {
        __u64 return_flags;
        __s64 priority;
        __u64 dropped_msgs;
-       struct kdbus_reply reply;
+       struct kdbus_msg_info reply;
        struct kdbus_item items[0];
 } __attribute__((aligned(8)));