diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-02 15:28:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-02 15:29:40 +0100 |
commit | 6717d473506800363af9d2bafbf263ee054e856d (patch) | |
tree | c25bf710e766bebf53d62303e7e52412de9dddde /src/libsystemd-bus/bus-message.h | |
parent | 99f37ad86e114b2d1c9eaedf2bc1a0004a265d26 (diff) |
bus: when replying to an incoming message and the vtable contains the expected return signature generate an error if the response message doesn't match it
Diffstat (limited to 'src/libsystemd-bus/bus-message.h')
-rw-r--r-- | src/libsystemd-bus/bus-message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-message.h b/src/libsystemd-bus/bus-message.h index 72a79f792b..34dbc5d563 100644 --- a/src/libsystemd-bus/bus-message.h +++ b/src/libsystemd-bus/bus-message.h @@ -116,6 +116,11 @@ struct sd_bus_message { char *peeked_signature; + /* If set replies to this message must carry the signature + * specified here to successfully seal. This is initialized + * from the vtable data */ + const char *enforced_reply_signature; + usec_t timeout; char sender_buffer[3 + DECIMAL_STR_MAX(uint64_t) + 1]; |