# rpc_gss_set_defaults(3) - man - phpman

[RPC_GSS_SET_DEFAULTS(3)](https://www.chedong.com/phpMan.php/man/RPCGSSSETDEFAULTS/3/markdown)  BSD Library Functions Manual  [RPC_GSS_SET_DEFAULTS(3)](https://www.chedong.com/phpMan.php/man/RPCGSSSETDEFAULTS/3/markdown)

## 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
     Set the service and quality of protection to be used for RPC requests.  The new values apply
     for the rest of the lifetime of the context (unless changed again with this function).

## PARAMETERS
     service  The service type to use for subsequent RPC requests

     qop      The quality of protection to use or NULL for the default

## RETURN VALUES
     Returns TRUE if the values were set

## AVAILABILITY
     The **rpc**___**gss**___**set**___**defaults**() function is part of libtirpc.

## SEE ALSO
     [rpc(3)](https://www.chedong.com/phpMan.php/man/rpc/3/markdown), [gssapi(3)](https://www.chedong.com/phpMan.php/man/gssapi/3/markdown), [rpcsec_gss(3)](https://www.chedong.com/phpMan.php/man/rpcsecgss/3/markdown)

## AUTHORS
     This manual page was written by Doug Rabson <<dfr@FreeBSD.org>>.

BSD                            January 26, 2010                            BSD
