X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdbus-snapshot.h;h=d7551cbcdc97c08e9953d37bf1092f292589d1fb;hp=fea13872aa0297f44f43482fda0a1348bea70d12;hb=a9244623f785f504f799407b0228dea9655e24cb;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/core/dbus-snapshot.h b/src/core/dbus-snapshot.h index fea13872a..d7551cbcd 100644 --- a/src/core/dbus-snapshot.h +++ b/src/core/dbus-snapshot.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef foodbussnapshothfoo -#define foodbussnapshothfoo +#pragma once /*** This file is part of systemd. @@ -22,12 +21,8 @@ along with systemd; If not, see . ***/ -#include +#include "sd-bus.h" -#include "unit.h" +extern const sd_bus_vtable bus_snapshot_vtable[]; -DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusConnection *c, DBusMessage *message); - -extern const char bus_snapshot_interface[]; - -#endif +int bus_snapshot_method_remove(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error);