summaryrefslogtreecommitdiffstats
path: root/src/core/dbus-util.h
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-01-21 19:31:45 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-01-21 19:31:45 +0100
commit988172cecfeb56d87ccbf22cba94064c21f7bd5c (patch)
tree46971de6bb8fa7db862d1adc06f73c639404ff36 /src/core/dbus-util.h
parentci: change the Semaphore CI badge branch to 'main' (diff)
downloadsystemd-988172cecfeb56d87ccbf22cba94064c21f7bd5c.tar.xz
systemd-988172cecfeb56d87ccbf22cba94064c21f7bd5c.zip
core: split read_mount_options helper out for reuse
Diffstat (limited to 'src/core/dbus-util.h')
-rw-r--r--src/core/dbus-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/dbus-util.h b/src/core/dbus-util.h
index e35c632d37..bd4fd081c5 100644
--- a/src/core/dbus-util.h
+++ b/src/core/dbus-util.h
@@ -3,6 +3,7 @@
#include "sd-bus.h"
+#include "dissect-image.h"
#include "unit.h"
int bus_property_get_triggered_unit(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
@@ -249,3 +250,5 @@ static inline int bus_set_transient_usec_fix_0(Unit *u, const char *name, usec_t
return bus_set_transient_usec_internal(u, name, p, true, message, flags, error);
}
int bus_verify_manage_units_async_full(Unit *u, const char *verb, int capability, const char *polkit_message, bool interactive, sd_bus_message *call, sd_bus_error *error);
+
+int bus_read_mount_options(sd_bus_message *message, sd_bus_error *error, MountOptions **ret_options, char **ret_format_str, const char *separator);