chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run: add a new "-t" mode for invoking a binary on an allocated TTY
[elogind.git]
/
src
/
core
/
dbus-device.h
diff --git
a/src/core/dbus-device.h
b/src/core/dbus-device.h
index 068adee5b89841bd533f6373ce1f251c2af7d6a7..4aff226ab26c806e6c790dca8faa9a92411484bb 100644
(file)
--- a/
src/core/dbus-device.h
+++ b/
src/core/dbus-device.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foodbusdevicehfoo
-#define foodbusdevicehfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-22,13
+21,7
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <dbus/dbus.h>
-
+#include "sd-bus.h"
#include "unit.h"
#include "unit.h"
-DBusHandlerResult bus_device_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
-
-extern const char bus_device_interface[];
-extern const char bus_device_invalidating_properties[];
-
-#endif
+extern const sd_bus_vtable bus_device_vtable[];