chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Rename Job.subscribed field to Job.clients
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
bus-message.h
diff --git
a/src/libsystemd/sd-bus/bus-message.h
b/src/libsystemd/sd-bus/bus-message.h
index 5fbe3e60307ab7fc50a1725fbed807f67138e1b5..df792945b0206f605be6eed546021005f37d895e 100644
(file)
--- a/
src/libsystemd/sd-bus/bus-message.h
+++ b/
src/libsystemd/sd-bus/bus-message.h
@@
-84,7
+84,7
@@
struct sd_bus_message {
sd_bus *bus;
sd_bus *bus;
- uint
32
_t reply_cookie;
+ uint
64
_t reply_cookie;
const char *path;
const char *interface;
const char *path;
const char *interface;
@@
-162,7
+162,8
@@
static inline uint64_t BUS_MESSAGE_BSWAP64(sd_bus_message *m, uint64_t u) {
return BUS_MESSAGE_NEED_BSWAP(m) ? bswap_64(u) : u;
}
return BUS_MESSAGE_NEED_BSWAP(m) ? bswap_64(u) : u;
}
-static inline uint32_t BUS_MESSAGE_COOKIE(sd_bus_message *m) {
+static inline uint64_t BUS_MESSAGE_COOKIE(sd_bus_message *m) {
+ /* Note that we return the serial converted to a 64bit value here */
return BUS_MESSAGE_BSWAP32(m, m->header->serial);
}
return BUS_MESSAGE_BSWAP32(m, m->header->serial);
}