xref: /freebsd/lib/libgssapi/gss_release_oid_set.3 (revision 6a557179e17a74a26078a3af1c27dd61a1e666d1)
1c0b9f4feSDoug Rabson.\" -*- nroff -*-
2c0b9f4feSDoug Rabson.\"
3c0b9f4feSDoug Rabson.\" Copyright (c) 2005 Doug Rabson
4c0b9f4feSDoug Rabson.\" All rights reserved.
5c0b9f4feSDoug Rabson.\"
6c0b9f4feSDoug Rabson.\" Redistribution and use in source and binary forms, with or without
7c0b9f4feSDoug Rabson.\" modification, are permitted provided that the following conditions
8c0b9f4feSDoug Rabson.\" are met:
9c0b9f4feSDoug Rabson.\" 1. Redistributions of source code must retain the above copyright
10c0b9f4feSDoug Rabson.\"    notice, this list of conditions and the following disclaimer.
11c0b9f4feSDoug Rabson.\" 2. Redistributions in binary form must reproduce the above copyright
12c0b9f4feSDoug Rabson.\"    notice, this list of conditions and the following disclaimer in the
13c0b9f4feSDoug Rabson.\"    documentation and/or other materials provided with the distribution.
14c0b9f4feSDoug Rabson.\"
15c0b9f4feSDoug Rabson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16c0b9f4feSDoug Rabson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17c0b9f4feSDoug Rabson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18c0b9f4feSDoug Rabson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19c0b9f4feSDoug Rabson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20c0b9f4feSDoug Rabson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21c0b9f4feSDoug Rabson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22c0b9f4feSDoug Rabson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23c0b9f4feSDoug Rabson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24c0b9f4feSDoug Rabson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25c0b9f4feSDoug Rabson.\" SUCH DAMAGE.
26c0b9f4feSDoug Rabson.\"
27c0b9f4feSDoug Rabson.\"	$FreeBSD$
28c0b9f4feSDoug Rabson.\"
29c0b9f4feSDoug Rabson.\" The following commands are required for all man pages.
30d76ba3efSGavin Atkinson.Dd January 26, 2010
31c0b9f4feSDoug Rabson.Dt GSS_RELEASE_OID_SET 3 PRM
32aa12cea2SUlrich Spörlein.Os
33c0b9f4feSDoug Rabson.Sh NAME
34c0b9f4feSDoug Rabson.Nm gss_release_oid_set
35c0b9f4feSDoug Rabson.Nd Discard a set of object identifiers
36c0b9f4feSDoug Rabson.\" This next command is for sections 2 and 3 only.
37c0b9f4feSDoug Rabson.\" .Sh LIBRARY
38c0b9f4feSDoug Rabson.Sh SYNOPSIS
39c0b9f4feSDoug Rabson.In "gssapi/gssapi.h"
40c0b9f4feSDoug Rabson.Ft OM_uint32
41c0b9f4feSDoug Rabson.Fo gss_release_oid_set
42c0b9f4feSDoug Rabson.Fa "OM_uint32 *minor_status"
43c0b9f4feSDoug Rabson.Fa "gss_OID_set *set"
44c0b9f4feSDoug Rabson.Fc
45c0b9f4feSDoug Rabson.Sh DESCRIPTION
46c0b9f4feSDoug RabsonFree storage associated with a GSS-API generated gss_OID_set object.
47c0b9f4feSDoug RabsonThe set parameter must refer to an OID-set that was returned from a
48c0b9f4feSDoug RabsonGSS-API routine.
49c0b9f4feSDoug Rabson.Fn gss_release_oid_set
50c0b9f4feSDoug Rabsonwill free the storage associated with each individual member OID,
51c0b9f4feSDoug Rabsonthe OID set's elements array,
52c0b9f4feSDoug Rabsonand the gss_OID_set_desc itself.
53c0b9f4feSDoug Rabson.Pp
54c0b9f4feSDoug RabsonImplementations are encouraged to set the gss_OID_set parameter to
55c0b9f4feSDoug Rabson.Dv GSS_C_NO_OID_SET
56c0b9f4feSDoug Rabsonon successful completion of this routine.
57c0b9f4feSDoug Rabson.Sh PARAMETERS
58*6a557179SJoel Dahl.Bl -tag -width ".It minor_status"
59c0b9f4feSDoug Rabson.It minor_status
60c0b9f4feSDoug RabsonMechanism specific status code.
61c0b9f4feSDoug Rabson.It set
62c0b9f4feSDoug RabsonThe storage associated with the gss_OID_set will be deleted.
63c0b9f4feSDoug Rabson.El
64c0b9f4feSDoug Rabson.Sh RETURN VALUES
65*6a557179SJoel Dahl.Bl -tag -width ".It GSS_S_COMPLETE"
66c0b9f4feSDoug Rabson.It GSS_S_COMPLETE
67c0b9f4feSDoug RabsonSuccessful completion
68c0b9f4feSDoug Rabson.El
69c0b9f4feSDoug Rabson.Sh STANDARDS
70*6a557179SJoel Dahl.Bl -tag -width ".It RFC 2743"
71c0b9f4feSDoug Rabson.It RFC 2743
72c0b9f4feSDoug RabsonGeneric Security Service Application Program Interface Version 2, Update 1
73c0b9f4feSDoug Rabson.It RFC 2744
74c0b9f4feSDoug RabsonGeneric Security Service API Version 2 : C-bindings
75c0b9f4feSDoug Rabson.El
76c0b9f4feSDoug Rabson.Sh HISTORY
77c0b9f4feSDoug RabsonThe
78c0b9f4feSDoug Rabson.Nm
79d76ba3efSGavin Atkinsonfunction first appeared in
80c0b9f4feSDoug Rabson.Fx 7.0 .
81c0b9f4feSDoug Rabson.Sh AUTHORS
82c0b9f4feSDoug RabsonJohn Wray, Iris Associates
8360b9f20aSDoug Rabson.Sh COPYRIGHT
8460b9f20aSDoug RabsonCopyright (C) The Internet Society (2000).  All Rights Reserved.
8560b9f20aSDoug Rabson.Pp
8660b9f20aSDoug RabsonThis document and translations of it may be copied and furnished to
8760b9f20aSDoug Rabsonothers, and derivative works that comment on or otherwise explain it
8860b9f20aSDoug Rabsonor assist in its implementation may be prepared, copied, published
8960b9f20aSDoug Rabsonand distributed, in whole or in part, without restriction of any
9060b9f20aSDoug Rabsonkind, provided that the above copyright notice and this paragraph are
9160b9f20aSDoug Rabsonincluded on all such copies and derivative works.  However, this
9260b9f20aSDoug Rabsondocument itself may not be modified in any way, such as by removing
9360b9f20aSDoug Rabsonthe copyright notice or references to the Internet Society or other
9460b9f20aSDoug RabsonInternet organizations, except as needed for the purpose of
9560b9f20aSDoug Rabsondeveloping Internet standards in which case the procedures for
9660b9f20aSDoug Rabsoncopyrights defined in the Internet Standards process must be
9760b9f20aSDoug Rabsonfollowed, or as required to translate it into languages other than
9860b9f20aSDoug RabsonEnglish.
9960b9f20aSDoug Rabson.Pp
10060b9f20aSDoug RabsonThe limited permissions granted above are perpetual and will not be
10160b9f20aSDoug Rabsonrevoked by the Internet Society or its successors or assigns.
10260b9f20aSDoug Rabson.Pp
10360b9f20aSDoug RabsonThis document and the information contained herein is provided on an
10460b9f20aSDoug Rabson"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
10560b9f20aSDoug RabsonTASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
10660b9f20aSDoug RabsonBUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
10760b9f20aSDoug RabsonHEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
10860b9f20aSDoug RabsonMERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
109