diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2020-03-09 23:09:17 +0100 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2020-10-08 01:17:23 +0200 |
commit | 4d824a4e0b008a359adda0e960706316f207047e (patch) | |
tree | 04c5b68e821899102206ae1be6746632aa96d9cd /src/shared/bus-get-properties.h | |
parent | unit: don't emit PropertiesChanged signal if adding a dependency to a unit is... (diff) | |
download | systemd-4d824a4e0b008a359adda0e960706316f207047e.tar.xz systemd-4d824a4e0b008a359adda0e960706316f207047e.zip |
core: add ManagedOOM*= properties to configure systemd-oomd on the unit
This adds the hook ups so it can be read with the usual systemd
utilities. Used in later commits by sytemd-oomd.
Diffstat (limited to 'src/shared/bus-get-properties.h')
-rw-r--r-- | src/shared/bus-get-properties.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/bus-get-properties.h b/src/shared/bus-get-properties.h index 81af74309d..f3934a86a2 100644 --- a/src/shared/bus-get-properties.h +++ b/src/shared/bus-get-properties.h @@ -8,6 +8,7 @@ int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); int bus_property_set_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *error); int bus_property_get_id128(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); +int bus_property_get_percent(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); #define bus_property_get_usec ((sd_bus_property_get_t) NULL) #define bus_property_set_usec ((sd_bus_property_set_t) NULL) |