pub unsafe extern "C" fn gss_userok(
name: gss_name_t,
username: *const c_char,
) -> c_int
Expand description
Determine whether a mechanism name is authorized to act as a username.
@param [in] name Mechanism name @param [in] username System username
This is a simple wrapper around gss_authorize_localname(). It only supports system usernames as local names, and cannot distinguish between lack of authorization and other errors.
@retval 1 @a name is authorized to act as @a username @retval 0 @a name is not authorized or an error occurred