8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / gss_mechs / mech_dh / backend / mech / oid.h
blobfa42b858dc2bb636a6de112a60170d47c62a7b23
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * oid.h
25 * Copyright (c) 1997, by Sun Microsystems, Inc.
26 * All rights reserved.
30 #ifndef _OID_H_
31 #define _OID_H_
33 #pragma ident "%Z%%M% %I% %E% SMI"
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
39 int __OID_equal(const gss_OID_desc * const oid1,
40 const gss_OID_desc * const oid2);
41 int __OID_nel(const gss_OID_desc * const oid);
42 OM_uint32 __OID_copy_desc(gss_OID dest, const gss_OID_desc * const source);
43 OM_uint32 __OID_copy(gss_OID *dest, const gss_OID_desc * const source);
44 int __OID_is_member(gss_OID_set set, const gss_OID_desc * const element);
45 OM_uint32 __OID_copy_set(gss_OID_set *dest, gss_OID_set source);
47 OM_uint32
48 __OID_copy_set_from_array(gss_OID_set *dest,
49 const gss_OID_desc *array[], size_t nel);
51 OM_uint32 __OID_to_OID_set(gss_OID_set *set, const gss_OID_desc * const oid);
53 #ifdef __cplusplus
55 #endif
57 #endif /* _OID_H_ */