X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fdbus-job.h;h=6c2fc0789cb0da2abed32c7b1831e04b19987701;hb=652212b0c2b60b9ef9b2e24eae82401f880fa21a;hp=a1b928fb16ab4376c7bfc79b4d754b9775c67c34;hpb=f274ece0f76b5709408821e317e87aef76123db6;p=elogind.git diff --git a/src/core/dbus-job.h b/src/core/dbus-job.h index a1b928fb1..6c2fc0789 100644 --- a/src/core/dbus-job.h +++ b/src/core/dbus-job.h @@ -21,13 +21,12 @@ along with systemd; If not, see . ***/ -#include - +#include "sd-bus.h" #include "job.h" -void bus_job_send_change_signal(Job *j); -void bus_job_send_removed_signal(Job *j); +extern const sd_bus_vtable bus_job_vtable[]; -extern const DBusObjectPathVTable bus_job_vtable; +int bus_job_method_cancel(sd_bus *bus, sd_bus_message *message, void *job, sd_bus_error *error); -extern const char bus_job_interface[]; +void bus_job_send_change_signal(Job *j); +void bus_job_send_removed_signal(Job *j);