logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpc_gss_qop_to_num — Convert a Quality of Protection name to number

Authors

       This manual page was written by Doug Rabson <dfr@FreeBSD.org>.

Debian                                          January 26, 2010                           RPC_GSS_QOP_TO_NUM(3)

Availability

       The rpc_gss_qop_to_num() function is part of libtirpc.

Description

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

Name

       rpc_gss_qop_to_num — Convert a Quality of Protection name to number

Parameters

       qop         The   name   of   Quality  of  Protection  associated  with  the  GSS_API  mechanism  "mech".
                   "GSS_C_QOP_DEFAULT" is currently the only supported QOP.

       mech        The name of a GSS_API mechanism.  "kerberos_v5" is currently the only supported mechanism.

       number_ret  Buffer in which to place the returned QOP number

Return Values

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

See Also

rpc(3), gssapi(3), rpcsec_gss(3)

Synopsis

#include<rpc/rpcsec_gss.h>bool_trpc_gss_qop_to_num(constchar*qop, constchar*mech, u_int*num_ret);

See Also