#[no_mangle]
pub unsafe extern "C" fn teaclave_close_frontend_service(
client: *mut FrontendClient
) -> c_int
Expand description
Close and free the frontend service handle, i.e., the FrontendClient
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.