diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-14 02:29:21 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-14 02:29:21 +0000 |
commit | 777707ed8dff6958972a93894a87ec1945c65c14 (patch) | |
tree | 4ade9d56eccc5280150968e692a389e8749ed029 /bus/connection.h | |
parent | 8aabca8dd28a113712389be51e75ea8c2fd17838 (diff) |
2003-04-13 Havoc Pennington <hp@pobox.com>
* dbus/dbus-mainloop.c: fix some reentrancy issues by refcounting
callbacks
* test/data/valid-config-files/debug-allow-all.conf.in: allow all
users
* dbus/dbus-transport.c (_dbus_transport_get_dispatch_status):
fix to only recover unused bytes if we're already authenticated
(_dbus_transport_get_is_authenticated): fix to still mark us
authenticated if there are unused bytes.
* bus/dispatch.c: implement security policy checking
* bus/connection.c (bus_transaction_send_from_driver): new
* bus/bus.c (bus_context_check_security_policy): new
* bus/dispatch.c (send_service_nonexistent_error): delete this,
now we just set the DBusError and it gets converted to an error
reply.
* bus/connection.c (allow_user_function): enable code using actual
data from the config file
* bus/policy.c (list_allows_user): handle wildcard rules for
user/group connection perms
Diffstat (limited to 'bus/connection.h')
-rw-r--r-- | bus/connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bus/connection.h b/bus/connection.h index 4962211e..ead47673 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -84,7 +84,10 @@ typedef void (* BusTransactionCancelFunction) (void *data); BusTransaction* bus_transaction_new (BusContext *context); BusContext* bus_transaction_get_context (BusTransaction *transaction); BusConnections* bus_transaction_get_connections (BusTransaction *transaction); -dbus_bool_t bus_transaction_send_message (BusTransaction *transaction, +dbus_bool_t bus_transaction_send (BusTransaction *transaction, + DBusConnection *connection, + DBusMessage *message); +dbus_bool_t bus_transaction_send_from_driver (BusTransaction *transaction, DBusConnection *connection, DBusMessage *message); dbus_bool_t bus_transaction_send_error_reply (BusTransaction *transaction, |