diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-06 11:34:40 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-15 14:07:07 +0200 |
commit | 2ea31e5b13448fd7a9757da4bcd1de04a151ac3f (patch) | |
tree | c81d91225ff89f0717e610f3137ec3902e169aa9 /src/core/dbus-job.h | |
parent | 36e34057a202d389263e98030fbd775b28b28af6 (diff) |
core: Common code for DBus methods that Cancel a job
Both ofs.Job.Cancel() and ofs.Manager.CancelJob() now use same
implementation. So we can add caller verify logic appropriately.
Diffstat (limited to 'src/core/dbus-job.h')
-rw-r--r-- | src/core/dbus-job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-job.h b/src/core/dbus-job.h index d1d0f6ddf0..6c2fc0789c 100644 --- a/src/core/dbus-job.h +++ b/src/core/dbus-job.h @@ -26,5 +26,7 @@ extern const sd_bus_vtable bus_job_vtable[]; +int bus_job_method_cancel(sd_bus *bus, sd_bus_message *message, void *job, sd_bus_error *error); + void bus_job_send_change_signal(Job *j); void bus_job_send_removed_signal(Job *j); |