#[no_mangle]
pub unsafe extern "C" fn teaclave_close_authentication_service(
    client: *mut AuthenticationClient
) -> c_int
Expand description

Close and free the authentication service handle, i.e., the AuthenticaionClient type opaque pointer. The function returns 0 for success. On error, the function returns 1.

Safety

This function is unsafe because improper use may lead to memory problems. For example, a double-free may occur if the function is called twice on the same raw pointer.