pub unsafe extern "C" fn crypt_set_log_callback(
    cd: *mut crypt_device,
    log: Option<unsafe extern "C" fn(level: c_int, msg: *const c_char, usrptr: *mut c_void)>,
    usrptr: *mut c_void
)