summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 20:51:49 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 20:51:49 +0100
commitaffff0b6f2b267254fee981a010e06cd55d9756a (patch)
treea31947327ece1e58a7e9e6eef868fa30f5e54c64 /src/libsystemd-bus/bus-internal.h
parent4e724d9c5ab76c3f8327945317463ef706011082 (diff)
bus: add sd_bus_get_current() bus call to determine message that is currently being dispatched
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 913f281316..2112a29687 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -247,6 +247,8 @@ struct sd_bus {
sd_event_source *time_event_source;
sd_event_source *quit_event_source;
sd_event *event;
+
+ sd_bus_message *current;
};
#define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))