chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dbus: fill in kdbus sender+destination from kdbus data
[elogind.git]
/
src
/
libsystemd-bus
/
bus-message.h
diff --git
a/src/libsystemd-bus/bus-message.h
b/src/libsystemd-bus/bus-message.h
index d1ab5484ba2b3de5198206f1378d41fc69aad28a..8eea46baf17edb35d0b12553682d45db763dc91a 100644
(file)
--- a/
src/libsystemd-bus/bus-message.h
+++ b/
src/libsystemd-bus/bus-message.h
@@
-67,6
+67,8
@@
struct sd_bus_message {
gid_t gid;
pid_t pid;
pid_t tid;
gid_t gid;
pid_t pid;
pid_t tid;
+ usec_t pid_starttime;
+ usec_t timestamp;
bool sealed:1;
bool dont_send:1;
bool sealed:1;
bool dont_send:1;
@@
-100,6
+102,9
@@
struct sd_bus_message {
char *peeked_signature;
usec_t timeout;
char *peeked_signature;
usec_t timeout;
+
+ char sender_buffer[3 + DECIMAL_STR_MAX(uint64_t) + 1];
+ char destination_buffer[3 + DECIMAL_STR_MAX(uint64_t) + 1];
};
#define BUS_MESSAGE_NEED_BSWAP(m) ((m)->header->endian != SD_BUS_NATIVE_ENDIAN)
};
#define BUS_MESSAGE_NEED_BSWAP(m) ((m)->header->endian != SD_BUS_NATIVE_ENDIAN)