udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / src / core / dbus-job.h
blob6f005811cb2ec0091daef61fbfc3cf3827c0fbc2
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
4 #include "sd-bus.h"
6 #include "unit.h"
7 #include "bus-object.h"
9 extern const sd_bus_vtable bus_job_vtable[];
10 extern const BusObjectImplementation job_object;
12 int bus_job_method_cancel(sd_bus_message *message, void *job, sd_bus_error *error);
13 int bus_job_method_get_waiting_jobs(sd_bus_message *message, void *userdata, sd_bus_error *error);
15 void bus_job_send_change_signal(Job *j);
16 void bus_job_send_pending_change_signal(Job *j, bool including_new);
17 void bus_job_send_removed_signal(Job *j);
19 int bus_job_coldplug_bus_track(Job *j);
20 int bus_job_track_sender(Job *j, sd_bus_message *m);