|
Runs an "auth script" which is a script for testing the authentication protocol.
Scripts send and receive data, and then include assertions about the state of both ends of the connection after processing the data. A script succeeds if these assertions hold.
- Parameters:
-
| filename | the file containing the script to run |
- Returns:
- TRUE if the script succeeds, FALSE otherwise
Definition at line 223 of file dbus-auth-script.c.
References _dbus_auth_bytes_sent(), _dbus_auth_client_new(), _dbus_auth_delete_unused_bytes(), _dbus_auth_do_work(), _dbus_auth_get_buffer(), _dbus_auth_get_bytes_to_send(), _dbus_auth_get_unused_bytes(), _dbus_auth_ref(), _dbus_auth_return_buffer(), _dbus_auth_server_new(), _dbus_auth_set_context(), _dbus_auth_set_credentials(), _dbus_auth_set_mechanisms(), _dbus_auth_unref(), _dbus_credentials_from_current_process(), _dbus_file_get_contents(), _dbus_getuid(), _dbus_string_append(), _dbus_string_append_uint(), _dbus_string_copy(), _dbus_string_delete(), _dbus_string_delete_first_word(), _dbus_string_delete_leading_blanks(), _dbus_string_equal(), _dbus_string_equal_len(), _dbus_string_find(), _dbus_string_free(), _dbus_string_hex_encode(), _dbus_string_init(), _dbus_string_init_const(), _dbus_string_pop_line(), _dbus_string_starts_with_c_str(), _dbus_username_from_current_process(), _dbus_warn(), dbus_error_free(), dbus_error_init(), dbus_free_string_array(), FALSE, DBusError::message, NULL, and TRUE. |