summaryrefslogtreecommitdiffstats
path: root/bus/bus.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-04 00:39:22 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-04 00:39:22 +0000
commit1b08036103a70159e7a67b2349306710edcd6654 (patch)
tree6c6469bc51f9abcd2cf69036aabc71dea75c03b2 /bus/bus.h
parentf216e81432ddf04889202c33a6e68113f94d7611 (diff)
2003-04-03 Havoc Pennington <hp@redhat.com>
* bus/loop.h, bus/loop.c: make the mainloop an object so we can have multiple ones * bus/*.[hc]: adapt to mainloop change
Diffstat (limited to 'bus/bus.h')
-rw-r--r--bus/bus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/bus.h b/bus/bus.h
index 902f5fac..8357f7b8 100644
--- a/bus/bus.h
+++ b/bus/bus.h
@@ -29,6 +29,8 @@
#include <dbus/dbus.h>
#include <dbus/dbus-string.h>
+#include "loop.h"
+
typedef struct BusActivation BusActivation;
typedef struct BusConnections BusConnections;
typedef struct BusContext BusContext;
@@ -47,6 +49,7 @@ const char* bus_context_get_type (BusContext *context)
BusRegistry* bus_context_get_registry (BusContext *context);
BusConnections* bus_context_get_connections (BusContext *context);
BusActivation* bus_context_get_activation (BusContext *context);
+BusLoop* bus_context_get_loop (BusContext *context);
dbus_bool_t bus_context_allow_user (BusContext *context,
unsigned long uid);
BusPolicy* bus_context_create_connection_policy (BusContext *context,