X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Funit.h;h=c5be858923ceaa3f90b84da19ddfdb2ee5ff6d60;hb=f5a3628cc7aa132bb0ee6be48f3cedc2d8838046;hp=1f8874f4cc41058bdce74c62a22b0b78020b830d;hpb=8c47c7325fa1ab72febf807f8831ff24c75fbf45;p=elogind.git diff --git a/src/unit.h b/src/unit.h index 1f8874f4c..c5be85892 100644 --- a/src/unit.h +++ b/src/unit.h @@ -286,7 +286,7 @@ struct UnitVTable { void (*cgroup_notify_empty)(Unit *u); /* Called whenever a process of this unit sends us a message */ - void (*notify_message)(Unit *u, char **tags); + void (*notify_message)(Unit *u, pid_t pid, char **tags); /* Called whenever a name thus Unit registered for comes or * goes away. */ @@ -296,7 +296,7 @@ struct UnitVTable { void (*bus_query_pid_done)(Unit *u, const char *name, pid_t pid); /* Called for each message received on the bus */ - DBusHandlerResult (*bus_message_handler)(Unit *u, DBusMessage *message); + DBusHandlerResult (*bus_message_handler)(Unit *u, DBusConnection *c, DBusMessage *message); /* This is called for each unit type and should be used to * enumerate existing devices and load them. However,