chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Add AppArmor profile switching
[elogind.git]
/
src
/
core
/
dbus-target.h
diff --git
a/src/core/dbus-target.h
b/src/core/dbus-target.h
index f11cec7d211c040bceeb2027e0fe248c5bb0bbba..6be9c9f7084d0c4c976d14950070962e629f4bda 100644
(file)
--- a/
src/core/dbus-target.h
+++ b/
src/core/dbus-target.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 foodbustargethfoo
-#define foodbustargethfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-22,12
+21,6
@@
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"
-
-DBusHandlerResult bus_target_message_handler(Unit *u, DBusConnection *c, DBusMessage *message);
-
-extern const char bus_target_interface[];
-
-#endif
+extern const sd_bus_vtable bus_target_vtable[];