2 .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH GSS_RELEASE_OID 3GSS "Jan 15, 2003"
8 gss_release_oid \- release an object identifier
12 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lgss\fR [ \fIlibrary\fR... ]
13 #include <gssapi/gssapi.h>
15 \fB\fR\fBgss_release_oid\fR(\fBOM_uint32 *\fR\fIminor_status\fR, \fBconst gss_OID *\fR\fIoid\fR);
21 The \fBgss_release_oid()\fR function deletes an \fBOID\fR. Such an \fBOID\fR
22 might have been created with \fBgss_str_to_oid()\fR.
25 Since creating and deleting individual \fBOID\fRs is discouraged, it is
26 preferable to use \fBgss_release_oid_set()\fR if it is necessary to deallocate
31 The parameter descriptions for \fBgss_release_oid()\fR are as follows:
35 \fB\fIminor_status\fR\fR
38 A mechanism-specific status code.
47 The object identifier of the mechanism to be deleted.
53 \fBgss_release_oid()\fR returns one of the following status codes:
57 \fB\fBGSS_S_COMPLETE\fR\fR
60 Successful completion.
66 \fB\fBGSS_S_FAILURE\fR\fR
69 The underlying mechanism detected an error for which no specific \fBGSS\fR
70 status code is defined. The mechanism-specific status code reported by means
71 of the \fIminor_status\fR parameter details the error condition.
77 See \fBattributes\fR(5) for descriptions of the following attributes:
85 ATTRIBUTE TYPE ATTRIBUTE VALUE
93 \fBgss_release_oid_set\fR(3GSS), \fBgss_str_to_oid\fR(3GSS),
97 \fISolaris Security for Developers Guide\fR
101 This function is included for compatibility only with programs using earlier
102 versions of the \fBGSS-API\fR and should not be used for new programs. Other
103 implementations of the \fBGSS-API\fR might not support this function, so
104 portable programs should not rely on it. Sun might not continue to support this