chiark / gitweb /
dbus: fill in kdbus sender+destination from kdbus data
[elogind.git] / src / libsystemd-bus / bus-message.h
index 079a1887875701d71b9821a1abe96eb557f29a0b..8eea46baf17edb35d0b12553682d45db763dc91a 100644 (file)
@@ -68,6 +68,7 @@ struct sd_bus_message {
         pid_t pid;
         pid_t tid;
         usec_t pid_starttime;
+        usec_t timestamp;
 
         bool sealed:1;
         bool dont_send:1;
@@ -101,6 +102,9 @@ struct sd_bus_message {
         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)