X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Faudit.h;h=fb5f1b513ebcfb88e9246710ba5318e0c2398a97;hb=81295bb5aced5d5350db11b0e9bb284e22d2ac37;hp=0effc0baa04fccc14a3f5a34ba0418fb6a3960c6;hpb=05d3a176239c1dd67863c70a5b79d9bc14144ef6;p=elogind.git diff --git a/src/shared/audit.h b/src/shared/audit.h index 0effc0baa..fb5f1b513 100644 --- a/src/shared/audit.h +++ b/src/shared/audit.h @@ -21,9 +21,12 @@ along with systemd; If not, see . ***/ -#include +#include "sd-bus.h" +#include "job.h" -#include "capability.h" +extern const sd_bus_vtable bus_job_vtable[]; -int audit_session_from_pid(pid_t pid, uint32_t *id); -int audit_loginuid_from_pid(pid_t pid, uid_t *uid); +int bus_job_method_cancel(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);