X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-automount.h;h=0b9618368ed152c46166aa157f2348b7d1a25088;hb=08c6f819cb0ed435649583da02fa0de965b32dbe;hp=6849244b43bfd2fdf73a866d2b868289eab80545;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/dbus-automount.h b/src/core/dbus-automount.h index 6849244b4..0b9618368 100644 --- a/src/core/dbus-automount.h +++ b/src/core/dbus-automount.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbusautomounthfoo -#define foodbusautomounthfoo +#pragma once /*** This file is part of systemd. @@ -22,13 +21,7 @@ along with systemd; If not, see . ***/ -#include +#include "sd-bus.h" -#include "unit.h" - -DBusHandlerResult bus_automount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_automount_interface[]; -extern const char bus_automount_invalidating_properties[]; - -#endif +extern const sd_bus_vtable bus_automount_vtable[]; +extern const char* const bus_automount_changing_properties[];