diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-25 23:50:34 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-25 23:50:34 +0000 |
commit | b3bd48edfc1aab0a9dc64bfa4c380d845d218e73 (patch) | |
tree | 0ba9466c0b457769e9aa890906da532d875aac43 /bus/connection.h | |
parent | 4b87aa40dfba668f8622873f2ea420b098704e41 (diff) |
2003-04-25 Havoc Pennington <hp@redhat.com>
test suite is slightly hosed at the moment, will fix soon
* bus/connection.c (bus_connections_expire_incomplete): fix to
properly disable the timeout when required
(bus_connection_set_name): check whether we can remove incomplete
connections timeout after we complete each connection.
* dbus/dbus-mainloop.c (check_timeout): fix this up a bit,
probably still broken.
* bus/services.c (bus_registry_acquire_service): implement max
number of services owned, and honor allow/deny rules on which
services a connection can own.
* bus/connection.c (bus_connection_get_policy): report errors here
* bus/activation.c: implement limit on number of pending
activations
Diffstat (limited to 'bus/connection.h')
-rw-r--r-- | bus/connection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bus/connection.h b/bus/connection.h index fe5a3769..ebfe2ad2 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -68,7 +68,7 @@ void bus_connection_remove_owned_service (DBusConnection *connection, BusService *service); void bus_connection_add_owned_service_link (DBusConnection *connection, DBusList *link); - +int bus_connection_get_n_services_owned (DBusConnection *connection); /* called by driver.c */ dbus_bool_t bus_connection_set_name (DBusConnection *connection, @@ -83,7 +83,8 @@ dbus_bool_t bus_connection_is_in_group (DBusConnection *connection, dbus_bool_t bus_connection_get_groups (DBusConnection *connection, unsigned long **groups, int *n_groups); -BusClientPolicy* bus_connection_get_policy (DBusConnection *connection); +BusClientPolicy* bus_connection_get_policy (DBusConnection *connection, + DBusError *error); /* transaction API so we can send or not send a block of messages as a whole */ |