diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-05 03:36:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-05 03:36:22 +0100 |
commit | df31a6c0fe07805cb50045fbe91c2a6e7e430562 (patch) | |
tree | 6a0f3d73297588f3119494349de5736b4dfcb0fc /src/libsystemd/sd-bus/bus-util.h | |
parent | 53ede806cb58c661efbee6bbaabee6b2f0d3ce79 (diff) |
systemd-run: add new --property= switch that can set arbitrary properties for the unit that is created
The code for parsing these properties is shared with "systemctl
set-property", which means all the resource control settings are
immediately available.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-util.h')
-rw-r--r-- | src/libsystemd/sd-bus/bus-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-util.h b/src/libsystemd/sd-bus/bus-util.h index 51e1613c17..b0936208fb 100644 --- a/src/libsystemd/sd-bus/bus-util.h +++ b/src/libsystemd/sd-bus/bus-util.h @@ -178,3 +178,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(sd_bus_creds*, sd_bus_creds_unref); SD_BUS_PROPERTY(name "Monotonic", "t", bus_property_get_usec, (offset) + offsetof(struct dual_timestamp, monotonic), (flags)) int bus_maybe_reply_error(sd_bus_message *m, int r, sd_bus_error *error); + +int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignment); |