diff options
author | Havoc Pennington <hp@redhat.com> | 2005-05-05 22:02:11 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-05-05 22:02:11 +0000 |
commit | 4db285c800a68245ad7593e606ca8cb2c21a1329 (patch) | |
tree | 4d10264c98f39ca3d048b97755983fd2feb794ce /dbus/dbus-transport-protected.h | |
parent | b4b85685f139f1bbf64a557dee2b7c803e5e550b (diff) |
2005-05-05 Havoc Pennington <hp@redhat.com>
* configure.in (LT_*): add notes on how the libtool versioning
works to save thinking. Increment soname to indicate protocol
breakage (though really the library interface hasn't changed I
guess)
* dbus/dbus-transport.c (_dbus_transport_get_is_authenticated):
verify the GUID received from server matches what we were
expecting, if we had an expectation
* dbus/dbus-auth.c (send_ok): send GUID along with the OK command
(_dbus_auth_get_guid_from_server): new function
(send_begin): parse the OK args
* doc/dbus-specification.xml: add GUID to the auth protocol
Diffstat (limited to 'dbus/dbus-transport-protected.h')
-rw-r--r-- | dbus/dbus-transport-protected.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/dbus-transport-protected.h b/dbus/dbus-transport-protected.h index 879c3db8..f3ad3370 100644 --- a/dbus/dbus-transport-protected.h +++ b/dbus/dbus-transport-protected.h @@ -96,7 +96,9 @@ struct DBusTransport DBusCounter *live_messages_size; /**< Counter for size of all live messages. */ - char *address; /**< Address of this server */ + char *address; /**< Address of the server we are connecting to (#NULL for the server side of a transport) */ + + char *expected_guid; /**< GUID we expect the server to have, #NULL on server side or if we don't have an expectation */ DBusAllowUnixUserFunction unix_user_function; /**< Function for checking whether a user is authorized. */ void *unix_user_data; /**< Data for unix_user_function */ |