rpc_gss_qop_to_num3
Convert a quality of protection name to number
Usage
#include <rpc/rpcsec_gss.h>
bool_t
rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret);
Library
library “librpcsec_gss”
Overview
This function looks up a quality of protection by name by reading the file /etc/gss/qop.
Parameters
- qop
-
The quality of protection to search for
- mech
-
The mechanism name to search for
- number_ret
-
If the quality of protection is found, the corresponding number is returned in *num_ret
Return values
If the value is found, TRUE is returned, otherwise FALSE.
Releases
39 releases since FreeBSD 8.0-RELEASE; the text changed 26 times.