summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index 4dc53a1a68..b3c75ce20a 100644
--- a/unit.h
+++ b/unit.h
@@ -264,6 +264,9 @@ struct UnitVTable {
/* Called whenever a bus PID lookup finishes */
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);
+
/* This is called for each unit type and should be used to
* enumerate existing devices and load them. However,
* everything that is loaded here should still stay in