RPC\_GSS\_GET\_VERSIONS(3) Library Functions Manual RPC\_GSS\_GET\_VERSIONS(3)

# [NAME](#NAME)

`rpc_gss_get_versions` — Get supported protocol version

# [SYNOPSIS](#SYNOPSIS)

`#include <rpc/rpcsec_gss.h>`

`bool_t`  
`rpc_gss_get_versions`(`u_int *vers_hi`, `u_int *vers_lo`);

# [DESCRIPTION](#DESCRIPTION)

Return the highest and lowest supported versions of the RPCSEC\_GSS protocol.

# [PARAMETERS](#PARAMETERS)

vers\_hi

The value of `*vers_hi` is set to the highest supported protocol version

vers\_lo

The value of `*vers_lo` is set to the lowest supported protocol version

# [AVAILABILITY](#AVAILABILITY)

The [`rpc_gss_get_versions`](#rpc_gss_get_versions)() function is part of libtirpc.

# [SEE ALSO](#SEE_ALSO)

[rpc(3)](/man/os/libtirpc/rpc.3), [gssapi(3)](/man/os/libtirpc/gssapi.3), [rpcsec\_gss(3)](/man/os/libtirpc/rpcsec_gss.3)

# [AUTHORS](#AUTHORS)

This manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.

January 26, 2010 Linux 4.19.0-gvisor

---

Document: rpc_gss_get_versions(3t) from libtirpc 1.3.8-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/project/libtirpc/libtirpc/1.3.8/libtirpc-1.3.8.tar.bz2
