chiark / gitweb /
bus: internalize a lot of protocol definitions
[elogind.git] / src / core / dbus-mount.h
index 8597394373ebc44bc70975d0e3538ed276549841..4bb5d2ddee10cd27afd8f2966b073858f878a6c0 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <dbus/dbus.h>
-
+#include "sd-bus.h"
 #include "unit.h"
 
-DBusHandlerResult bus_mount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
+extern const sd_bus_vtable bus_mount_vtable[];
+extern const char * const bus_mount_changing_properties[];
 
-extern const char bus_mount_interface[];
-extern const char bus_mount_invalidating_properties[];
+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);