diff options
Diffstat (limited to 'usr/src/man/man3nsl/rpc_gss_set_callback.3nsl')
-rw-r--r-- | usr/src/man/man3nsl/rpc_gss_set_callback.3nsl | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/usr/src/man/man3nsl/rpc_gss_set_callback.3nsl b/usr/src/man/man3nsl/rpc_gss_set_callback.3nsl index 7405df9dfa..b908e6c768 100644 --- a/usr/src/man/man3nsl/rpc_gss_set_callback.3nsl +++ b/usr/src/man/man3nsl/rpc_gss_set_callback.3nsl @@ -3,13 +3,13 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH rpc_gss_set_callback 3NSL "5 Feb 2002" "SunOS 5.11" "Networking Services Library Functions" +.TH RPC_GSS_SET_CALLBACK 3NSL "Feb 5, 2002" .SH NAME rpc_gss_set_callback \- specify callback for context .SH SYNOPSIS .LP .nf -#include <rpc/rpcsec_gss.h> +#include <rpc/rpcsec_gss.h> \fBbool_t\fR \fBrpc_gss_set_callback\fR(\fBstruct rpc_gss_callback_t\fR \fI*cb\fR); .fi @@ -46,12 +46,10 @@ routine. (For a description of \fBrpc_gss_callback_t\fR and other The user-defined \fBcallback()\fR routine itself takes the following arguments: .sp .ne 2 -.mk .na \fB\fIreq\fR \fR .ad .RS 16n -.rt Pointer to the received service request. \fBsvc_req\fR is an RPC structure containing information on the context of an RPC invocation, such as program, version, and transport information. @@ -59,35 +57,29 @@ version, and transport information. .sp .ne 2 -.mk .na \fB\fIdeleg\fR \fR .ad .RS 16n -.rt Delegated credentials, if any. (See \fBNOTES,\fR below.) .RE .sp .ne 2 -.mk .na \fB\fIgss_context\fR \fR .ad .RS 16n -.rt GSS context (allows server to do GSS operations on the context to test for acceptance criteria). See \fBNOTES,\fR below. .RE .sp .ne 2 -.mk .na \fB\fIlock\fR \fR .ad .RS 16n -.rt This parameter is used to enforce a particular QOP and service for a session. This parameter points to a \fBRPCSEC_GSS\fR \fBrpc_gss_lock_t\fR structure. When the callback is invoked, the \fBrpc_gss_lock_t.locked\fR field is set to @@ -98,12 +90,10 @@ having different values for QOP or service than those specified by the .sp .ne 2 -.mk .na \fB\fIcookie\fR \fR .ad .RS 16n -.rt A four-byte quantity that an application may use in any manner it wants to \(em RPC does not interpret it. (For example, the cookie could be a pointer or index to a structure that represents a context initiator.) The cookie is @@ -124,29 +114,26 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE -_ -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ +MT-Level MT-Safe +.TE .SH SEE ALSO .sp .LP -\fBrpc\fR(3NSL), \fBrpc_gss_getcred\fR(3NSL), \fBrpcsec_gss\fR(3NSL), \fBattributes\fR(5) +\fBrpc\fR(3NSL), \fBrpc_gss_getcred\fR(3NSL), \fBrpcsec_gss\fR(3NSL), \fBattributes\fR(5) .sp .LP -\fIONC+ Developer\&'s Guide\fR +\fIONC+ Developer\&'s Guide\fR .sp .LP -Linn, J. \fIRFC 2078, Generic Security Service Application Program Interface, Version 2\fR. Network Working Group. January 1997. +Linn, J. \fIRFC 2078, Generic Security Service Application Program Interface, Version 2\fR. Network Working Group. January 1997. .SH NOTES .sp .LP If a server does not specify a callback, all incoming contexts will be accepted. .sp -.LP -Because the \fBGSS-API\fR is not currently exposed, the \fIdeleg\fR and \fIgss_context\fR arguments are mentioned for informational purposes only, and the user-defined callback function may choose to do nothing with them. |