X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-mount.h;h=f7004d252f02f311f0ff058252decb0702ae0ccb;hb=6357ac664c9ce8ae5b83bdb98011da24185e4efa;hp=097421396e90aa3a7f5119eab548e60356ef36f9;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git
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);