summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/kdbus.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-04-15 23:32:38 +0200
committerKay Sievers <kay@vrfy.org>2013-04-15 23:32:38 +0200
commitb1454bf05cecb22e3009db204bf17ec72537c539 (patch)
treef6451b90b318a46e63f8fc1016fbb0747430bf6d /src/libsystemd-bus/kdbus.h
parent9a3ef988b8442360500e7df4db3ff27d2f13de10 (diff)
bus: catch up with kernel changes
Diffstat (limited to 'src/libsystemd-bus/kdbus.h')
-rw-r--r--src/libsystemd-bus/kdbus.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h
index cddf2ec30d..aac7b84352 100644
--- a/src/libsystemd-bus/kdbus.h
+++ b/src/libsystemd-bus/kdbus.h
@@ -114,6 +114,8 @@ struct kdbus_msg_data {
union {
/* inline data */
__u8 data[0];
+ __u32 data32[0];
+ __u64 data64[0];
char str[0];
/* data vector */
@@ -163,7 +165,7 @@ struct kdbus_msg {
__u64 cookie_reply; /* cookie we reply to */
__u64 timeout_ns; /* timespan to wait for reply */
};
- struct kdbus_msg_data data[0];
+ struct kdbus_msg_data items[0];
};
enum {
@@ -329,7 +331,7 @@ enum {
struct kdbus_cmd_name_info_item {
__u64 size;
__u64 type;
- __u8 data[0];
+ __u8 items[0];
};
struct kdbus_cmd_name_info {