1 /* 2 * CDDL HEADER START 3 * 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. 8 * 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. 13 * 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] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * oid.h 24 * 25 * Copyright (c) 1997, by Sun Microsystems, Inc. 26 * All rights reserved. 27 * 28 */ 29 30 #ifndef _OID_H_ 31 #define _OID_H_ 32 33 #pragma ident "%Z%%M% %I% %E% SMI" 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 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); 46 47 OM_uint32 48 __OID_copy_set_from_array(gss_OID_set *dest, 49 const gss_OID_desc *array[], size_t nel); 50 51 OM_uint32 __OID_to_OID_set(gss_OID_set *set, const gss_OID_desc * const oid); 52 53 #ifdef __cplusplus 54 } 55 #endif 56 57 #endif /* _OID_H_ */ 58