chiark / gitweb /
sd-bus: drop bus parameter from message callback prototype
[elogind.git] / src / shared / audit.h
index 781866ae1c9af88cd5ccd341bd58baf31b4479a5..fb5f1b513ebcfb88e9246710ba5318e0c2398a97 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <stdint.h>
-#include <stdbool.h>
-#include <sys/types.h>
+#include "sd-bus.h"
+#include "job.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);
 
-bool use_audit(void);
+void bus_job_send_change_signal(Job *j);
+void bus_job_send_removed_signal(Job *j);