RPC_GSS_SET_DEFAULTS(3)

πŸ’– RPC_GSS_SET_DEFAULTS πŸ’–

ok so bestie, we're in RPC_GSS_SET_DEFAULTS(3) territory, which is a Library Functions Manual moment, and honestly? it's giving "set service and quality of protection." that's literally the name. no cap. πŸŽ€


✨ NAME ✨

rpc_gss_set_defaults β€” set service and quality of protection


🌸 SYNOPSIS 🌸

#include <rpc/rpcsec_gss.h>

bool_t
rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service,
    const char *qop);

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this does is it sets the service and the quality of protection that get used for RPC requests. cute, right? πŸ’…

And here's the tea: the new values apply for the rest of the lifetime of the context β€” like, they're committed, they're locked in, main character energy all the way through. the only way out is if you change them again with this same function. so like, it's not forever forever, it's forever-until-you-say-otherwise. periodt. πŸ‘‘


πŸŽ€ PARAMETERS πŸŽ€

  • service β€” the service type you wanna use for all the subsequent RPC requests. the vibe you're committing to. ✨
  • qop β€” the quality of protection to use, or NULL for the default. so if you're feeling indecisive, just pass NULL and let it cook. πŸ“

πŸ’œ RETURN VALUES πŸ’œ

Returns TRUE if the values were set. that's it, that's the whole return value. TRUE = slay, it worked. 🫢


🌈 AVAILABILITY 🌈

The rpc_gss_set_defaults() function is part of libtirpc. iykyk. πŸ”₯


⭐ SEE ALSO ⭐

go read those too bestie, they're lowkey iconic. πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson <dfr@FreeBSD.org>. we stan. πŸ™ˆ


and that's the whole page!! 🧚 this one's coming to you from the Debian girlies, dated January 26, 2010 β€” a true vintage baddie β€” under RPC_GSS_SET_DEFAULTS(3). mwah, go set some defaults πŸ’…βœ¨

πŸ“¦ where this page comes from