RPC_GSS_QOP_TO_NUM(3)

πŸ’– RPC_GSS_QOP_TO_NUM πŸ’–

okay bestie, welcome to the rpc_gss_qop_to_num page β€” it's a Library Functions Manual situation, and honestly? it's a little guy with a big job. ✨

🌸 NAME 🌸

rpc_gss_qop_to_num β€” Convert a Quality of Protection name to number


πŸŽ€ SYNOPSIS πŸŽ€

#include <rpc/rpcsec_gss.h>

bool_t
rpc_gss_qop_to_num(const char *qop, const char *mech, u_int *num_ret);

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, this function takes your GSS_API QOP qop and your mechanism mech and hands you back the numeric QOP value that goes with them. that's it. that's the whole vibe. it's giving "translator bestie who speaks both name-language and number-language." πŸ’…

✨ PARAMETERS ✨

  • qop β€” the name of the Quality of Protection that's chillin' with the GSS_API mechanism mech. rn "GSS_C_QOP_DEFAULT" is literally the only supported QOP, no cap.
  • mech β€” the name of a GSS_API mechanism. and rn "kerberos_v5" is the only supported mechanism. iconic, but also, that's the whole roster. πŸ‘‘
  • number_ret β€” the buffer where the returned QOP number gets placed. 🫢

πŸ’€ RETURN VALUES πŸ’€

if both the QOP name and the mechanism name are recognized? TRUE comes back, and the matching QOP number lands in *num_ret. slay. 🌟

otherwise FALSE is returned and

is left untouched.

and yes bestie, that sentence is genuinely missing its subject in the original β€” we're keeping it exactly as-is because we do not invent facts around here, even when the manpage is out here leaving us on read. 😭

🌈 AVAILABILITY 🌈

the rpc_gss_qop_to_num() function is part of libtirpc. she lives there. that's her home. 🏑

πŸ‘‘ SEE ALSO πŸ‘‘

πŸ’œ AUTHORS πŸ’œ

this manual page was written by Doug Rabson <dfr@FreeBSD.org>. ty for your service, king. 🫑


okay that's the whole page, mwah πŸ’‹ this one came from the Debian crew and it's dated January 26, 2010 β€” like, a whole era ago, and she's still out here converting QOPs. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from