diff options
author | Havoc Pennington <hp@redhat.com> | 2003-03-23 07:41:54 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-03-23 07:41:54 +0000 |
commit | a26607ab68bf0878f23d2dbddec781b4b760d034 (patch) | |
tree | fe9153c14712ce893b605a7b23b47e4e7e8d17d8 /bus/connection.h | |
parent | b6ffea177fccb6cc4e65992da7d8b390054277f7 (diff) |
2003-03-23 Havoc Pennington <hp@pobox.com>
* bus/policy.c, bus/bus.c, bus/connection.c: implement allow/deny
policies code
* dbus/dbus-hash.h: add ULONG hash keys
* dbus/dbus-sysdeps.c (_dbus_get_groups): new
(_dbus_get_group_id): new function
Diffstat (limited to 'bus/connection.h')
-rw-r--r-- | bus/connection.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bus/connection.h b/bus/connection.h index f78c3ac1..0d64e987 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -66,6 +66,13 @@ const char *bus_connection_get_name (DBusConnection *connection); /* called by dispatch.c when the connection is dropped */ void bus_connection_disconnected (DBusConnection *connection); +dbus_bool_t bus_connection_is_in_group (DBusConnection *connection, + unsigned long gid); +dbus_bool_t bus_connection_get_groups (DBusConnection *connection, + const unsigned long **groups, + int *n_groups); +BusPolicy* bus_connection_get_policy (DBusConnection *connection); + /* transaction API so we can send or not send a block of messages as a whole */ BusTransaction* bus_transaction_new (BusContext *context); BusContext* bus_transaction_get_context (BusTransaction *transaction); |