summaryrefslogtreecommitdiff
path: root/dbus/dbus-transport-protected.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-03-21 02:38:40 +0000
committerHavoc Pennington <hp@redhat.com>2003-03-21 02:38:40 +0000
commitb6ffea177fccb6cc4e65992da7d8b390054277f7 (patch)
tree5194ad93d495c110c88b7730f05b9265dd6ce73d /dbus/dbus-transport-protected.h
parent056d76d809dc341b0dce160d3f79062604565c77 (diff)
downloaddbus-b6ffea177fccb6cc4e65992da7d8b390054277f7.tar.gz
2003-03-20 Havoc Pennington <hp@redhat.com>
* dbus/dbus-connection.c (dbus_connection_set_unix_user_function): new function (dbus_connection_get_unix_user): new function
Diffstat (limited to 'dbus/dbus-transport-protected.h')
-rw-r--r--dbus/dbus-transport-protected.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbus/dbus-transport-protected.h b/dbus/dbus-transport-protected.h
index 8ee605c0..31668389 100644
--- a/dbus/dbus-transport-protected.h
+++ b/dbus/dbus-transport-protected.h
@@ -86,6 +86,11 @@ struct DBusTransport
long max_live_messages_size; /**< Max total size of received messages. */
DBusCounter *live_messages_size; /**< Counter for size of all live messages. */
+
+
+ DBusAllowUnixUserFunction unix_user_function; /**< Function for checking whether a user is authorized. */
+ void *unix_user_data; /**< Data for unix_user_function */
+ DBusFreeFunction free_unix_user_data; /**< Function to free unix_user_data */
unsigned int disconnected : 1; /**< #TRUE if we are disconnected. */
unsigned int authenticated : 1; /**< Cache of auth state; use _dbus_transport_get_is_authenticated() to query value */