chiark / gitweb /
core/load-fragment: safe_close() protects errno
[elogind.git] / src / core / dbus-automount.h
index 6849244b43bfd2fdf73a866d2b868289eab80545..a2b124d756ed2898248114e600d7f8507772003b 100644 (file)
@@ -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.
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <dbus/dbus.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[];