diff options
author | Havoc Pennington <hp@redhat.com> | 2003-10-14 05:16:56 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-10-14 05:16:56 +0000 |
commit | 64f5ae1a79a8cd86a3aae55e485729da438d84d0 (patch) | |
tree | ab2bc587211d813d8bb224db51c1f6446d05aa2c /bus/connection.h | |
parent | bfb5de511cbc072aca59189efc1324397d8993fd (diff) |
2003-10-14 Havoc Pennington <hp@redhat.com>
* bus/connection.c: implement pending reply tracking using
BusExpireList
* bus/bus.c (bus_context_check_security_policy): verify that a
reply is pending in order to allow a reply to be sent. Deny
messages of unknown type.
* bus/dbus-daemon-1.1.in: update to mention new resource limits
* bus/bus.c (bus_context_get_max_replies_per_connection): new
(bus_context_get_reply_timeout): new
Diffstat (limited to 'bus/connection.h')
-rw-r--r-- | bus/connection.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bus/connection.h b/bus/connection.h index d9fd727e..00a7ce49 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -55,6 +55,19 @@ dbus_bool_t bus_connections_check_limits (BusConnections DBusError *error); void bus_connections_expire_incomplete (BusConnections *connections); +dbus_bool_t bus_connections_expect_reply (BusConnections *connections, + BusTransaction *transaction, + DBusConnection *will_get_reply, + DBusConnection *will_send_reply, + DBusMessage *reply_to_this, + DBusError *error); +dbus_bool_t bus_connections_check_reply (BusConnections *connections, + BusTransaction *transaction, + DBusConnection *sending_reply, + DBusConnection *receiving_reply, + DBusMessage *reply, + DBusError *error); + dbus_bool_t bus_connection_mark_stamp (DBusConnection *connection); dbus_bool_t bus_connection_is_active (DBusConnection *connection); |