RPC_GSS_QOP_TO_NUM(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

okay so bestie, welcome to the RPC_GSS_QOP_TO_NUM(3) page in the Library Functions Manual β€” it’s giving tiny lookup function with main character energy ✨

✨ NAME ✨

rpc_gss_qop_to_num β€” Convert a quality of protection name to number. That’s the whole name-and-purpose combo, and it ate πŸ’…

🫢 LIBRARY 🫢

RPC GSS-API Authentication Library (librpcsec_gss, -lrpcsec_gss). That’s the library, periodt.

πŸ’… SYNOPSIS πŸ’…

Include the header and use this signature, exactly:

#include <rpc/rpcsec_gss.h>

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

🌸 DESCRIPTION 🌸

bestie, here’s the tea: this function looks up a quality of protection by name, and it does that by reading the file /etc/gss/qop. No cap.

πŸŽ€ 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. That’s the return-value tea 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

gssapi(3), rpc(3), and rpcsec_gss(3) β€” go read those too, bestie 🌈

⭐ HISTORY ⭐

The rpc_gss_qop_to_num function first appeared in FreeBSD 8.0. A historical slay πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson <dfr@FreeBSD.org>. Periodt πŸŽ€


That’s the page, bestie! This footer vibe is Debian, dated January 26, 2010, for RPC_GSS_QOP_TO_NUM(3). Byeee πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from