RPC_GSS_GET_MECH_INFO(3)
β¨ RPC_GSS_GET_MECH_INFO(3) β¨
okay bestie, so this one's from the Library Functions Manual and it's literally about rpc_gss_get_mech_info β the lil function that tells you all about a security mechanism's Qualities of Protection π«Ά
πΈ NAME πΈ
rpc_gss_get_mech_info β Get Quality of Protection information for a security mechanism
the way this function's whole job is just "what QOPs do you support, mech?" and honestly? iconic. π
π SYNOPSIS π
#include <rpc/rpcsec_gss.h>
const char **
rpc_gss_get_mech_info(const char *mech, rpc_gss_service_t *service);
π¦ DESCRIPTION π¦
so basically this function hands you back the list of QOP names (that's Qualities of Protection, iykyk) that the GSS_API mechanism named mech supports. that's it, that's the whole vibe. β¨
π PARAMETERS π
mechβ the name of a GSS_API mechanism. heads up:"kerberos_v5"is currently the only supported mechanism, so likeβ¦ that's your one option bestie, no cap.serviceβ a buffer where the maximum service type gets planted. yes, "planted" π± we love a little horticulture moment.
π RETURN VALUES π
if the named GSS_API mechanism is recognized, you get back a list of the supported Qualities of Protection, slay. and the maximum supported service type for the mechanism gets returned in *service. but if it's not recognized? you get NULL. π
β οΈ Note: the returned QOP list is statically allocated memory. the caller must not free this array. do NOT free it. put the free() down. step away from the free(). π«π
π AVAILABILITY π
the rpc_gss_get_mech_info() function is part of libtirpc. periodt. π
π SEE ALSO π
π§ AUTHORS π§
this manual page was written by Doug Rabson <dfr@FreeBSD.org>. thank you for your service king π«‘π
β¨ cute lil sign-off β¨ β this page came from Debian, dated January 26, 2010, and it's filed under RPC_GSS_GET_MECH_INFO(3). mwah, go forth and get that mech info bestie πΈπ
π
π¦ where this page comes from
- alpine 3.22: libtirpc-doc 1.3.5-r0 Β· BSD-3-Clause
- alpine 3.23: libtirpc-doc 1.3.5-r1 Β· BSD-3-Clause
- alpine 3.24: libtirpc-doc 1.3.5-r1 Β· BSD-3-Clause
- arch rolling: libtirpc 1.3.8-1 Β· SISSL AND BSD-3-Clause
- centos-stream 10: libtirpc-devel 1.3.5-1.el10 Β· SISSL AND BSD-3-Clause
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 Β· SISSL and BSD
- centos-stream 9: libtirpc-devel 1.3.3-9.el9 Β· SISSL and BSD
- debian bookworm: libtirpc-dev 1.3.3+ds-1 Β· BSD-3-Clause
- debian trixie: libtirpc-dev 1.3.6+ds-1 Β· BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-0.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 Β· SISSL AND BSD-3-Clause
- fedora 43: libtirpc-devel 1.3.7-1.rc1.fc43 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.7-2.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 Β· SISSL AND BSD-3-Clause
- fedora 44: libtirpc-devel 1.3.8-0.fc44 Β· SISSL AND BSD-3-Clause
- nixos 26.05: libtirpc 1.3.7
- nixpkgs unstable: libtirpc 1.3.7
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: libtirpc-devel 1.3.6-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2build1 Β· BSD-3-Clause
- ubuntu jammy: libtirpc-dev 1.3.2-2ubuntu0.1 Β· BSD-3-Clause
- ubuntu noble: libtirpc-dev 1.3.4+ds-1.1build1 Β· BSD-3-Clause
- ubuntu questing: libtirpc-dev 1.3.6+ds-1
- ubuntu resolute: libtirpc-dev 1.3.7-0.1 Β· BSD-3-Clause
- ubuntu stonking: libtirpc-dev 1.3.7+ds-1 Β· BSD-3-Clause
- Copyright (c) 2008 Isilon Inc http://www.isilon.com/
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms