diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-17 20:30:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-18 11:43:18 +0100 |
commit | c0765ddb74f20046c406a3ac99f34719d767f151 (patch) | |
tree | 85686383b6019d58899d921daff12035bed0c929 /src/systemd/sd-bus.h | |
parent | b89c454b37a23433f8fd6ad7b93f5a6190930aa4 (diff) |
sd-bus: allow setting a per-connection default value for the "allow-interactive-authentication" message flag
Most of our client tools want to set this bit for all their method
calls, even though it defaults to off in sd-bus, and rightfully so.
Hence, to simplify thing, introduce a per sd_bus-object flag that sets
the default value for all messages created on the connection.
Diffstat (limited to 'src/systemd/sd-bus.h')
-rw-r--r-- | src/systemd/sd-bus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h index ca2d83e0e..f6262a3cc 100644 --- a/src/systemd/sd-bus.h +++ b/src/systemd/sd-bus.h @@ -143,6 +143,8 @@ int sd_bus_can_send(sd_bus *bus, char type); int sd_bus_negotiate_timestamp(sd_bus *bus, int b); int sd_bus_negotiate_creds(sd_bus *bus, int b, uint64_t creds_mask); int sd_bus_get_creds_mask(sd_bus *bus, uint64_t *creds_mask); +int sd_bus_set_allow_interactive_authorization(sd_bus *bus, int b); +int sd_bus_get_allow_interactive_authorization(sd_bus *bus); int sd_bus_start(sd_bus *ret); |