diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-23 11:09:30 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-23 11:10:40 +0100 |
commit | 3006b952dbd939d01507d1397e8c4a0e03f2d7a6 (patch) | |
tree | 3b6c3457911d85108f98c5416b4d3053066ee435 /dbus/dbus-auth.h | |
parent | bb9e5f65e7acecda1a812e58875d8a65f5a065d3 (diff) | |
download | dbus-3006b952dbd939d01507d1397e8c4a0e03f2d7a6.tar.gz |
Revert "Remove refcounting from DBusAuth and DBusAuthorization"
This reverts commit 7f6d7229d8812d985d544cf5dd3636865c5abc81.
Diffstat (limited to 'dbus/dbus-auth.h')
-rw-r--r-- | dbus/dbus-auth.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/dbus-auth.h b/dbus/dbus-auth.h index 1cf0570a..3f178a22 100644 --- a/dbus/dbus-auth.h +++ b/dbus/dbus-auth.h @@ -45,7 +45,8 @@ typedef enum DBusAuth* _dbus_auth_server_new (const DBusString *guid, DBusAuthorization *authorization); DBusAuth* _dbus_auth_client_new (void); -void _dbus_auth_free (DBusAuth *auth); +DBusAuth* _dbus_auth_ref (DBusAuth *auth); +void _dbus_auth_unref (DBusAuth *auth); dbus_bool_t _dbus_auth_set_mechanisms (DBusAuth *auth, const char **mechanisms); DBusAuthState _dbus_auth_do_work (DBusAuth *auth); |