X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-socket.h;h=17164d98713266d0e130c3f2a3743dd9cbc5c4b7;hb=76c37ab6d205c95e8f43ffbc19553b936330195a;hp=eafb3af6b8e92986de6738b900f7e59fa96e9142;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/core/dbus-socket.h b/src/core/dbus-socket.h index eafb3af6b..17164d987 100644 --- a/src/core/dbus-socket.h +++ b/src/core/dbus-socket.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbussockethfoo -#define foodbussockethfoo +#pragma once /*** This file is part of systemd. @@ -22,13 +21,10 @@ along with systemd; If not, see . ***/ -#include - +#include "sd-bus.h" #include "unit.h" -DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_socket_interface[]; -extern const char bus_socket_invalidating_properties[]; +extern const sd_bus_vtable bus_socket_vtable[]; -#endif +int bus_socket_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error); +int bus_socket_commit_properties(Unit *u);