summaryrefslogtreecommitdiff
path: root/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-18 03:08:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-18 03:08:16 +0200
commit4139c1b2729f88991159b9affa2ebf3e4eb904a0 (patch)
tree230a49b730ba77bec3829595313bdb4b7bcd53f4 /unit.h
parent41447faf1fc57463becabce399d983df762a104c (diff)
dbus: greatly extend dbus coverage
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