1RPC_GSS_QOP_TO_NUM(3)    BSD Library Functions Manual    RPC_GSS_QOP_TO_NUM(3)
2

NAME

4     rpc_gss_qop_to_num — Convert a Quality of Protection name to number
5

SYNOPSIS

7     #include <rpc/rpcsec_gss.h>
8
9     bool_t
10     rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret);
11

DESCRIPTION

13     This function returns the numeric QOP value associated with the GSS_API
14     QOP "qop" and mechanism "mech."
15

PARAMETERS

17     qop         The name of Quality of Protection associated with the GSS_API
18                 mechanism "mech".  "GSS_C_QOP_DEFAULT" is currently the only
19                 supported QOP.
20
21     mech        The name of a GSS_API mechanism.  "kerberos_v5" is currently
22                 the only supported mechanism.
23
24     number_ret  Buffer in which to place the returned QOP number
25

RETURN VALUES

27     If the QOP and mechanism names are recognized, TRUE is returned.  The
28     corresponding QOP number is returned in *num_ret.  Otherwise FALSE is
29     returned and
30     is left untouched.
31

AVAILABILITY

33     The rpc_gss_qop_to_num() function is part of libtirpc.
34

SEE ALSO

36     rpc(3), gssapi(3), rpcsec_gss(3)
37

AUTHORS

39     This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
40
41BSD                            January 26, 2010                            BSD
Impressum