X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-mount.h;h=f7004d252f02f311f0ff058252decb0702ae0ccb;hp=097421396e90aa3a7f5119eab548e60356ef36f9;hb=2f20a8ebdb5aed3146f366360762d8963efe8d82;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/core/dbus-mount.h b/src/core/dbus-mount.h index 097421396..f7004d252 100644 --- a/src/core/dbus-mount.h +++ b/src/core/dbus-mount.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbusmounthfoo -#define foodbusmounthfoo +#pragma once /*** This file is part of systemd. @@ -22,13 +21,10 @@ along with systemd; If not, see . ***/ -#include - +#include "sd-bus.h" #include "unit.h" -DBusHandlerResult bus_mount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_mount_interface[]; -extern const char bus_mount_invalidating_properties[]; +extern const sd_bus_vtable bus_mount_vtable[]; -#endif +int bus_mount_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error); +int bus_mount_commit_properties(Unit *u);