1505d05c7Sgtb /* 2159d09a2SMark Phalan * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 3505d05c7Sgtb * Use is subject to license terms. 4505d05c7Sgtb */ 5505d05c7Sgtb 67c478bd9Sstevel@tonic-gate /* 77c478bd9Sstevel@tonic-gate * Copyright 1993 by OpenVision Technologies, Inc. 8*55fea89dSDan Cross * 97c478bd9Sstevel@tonic-gate * Permission to use, copy, modify, distribute, and sell this software 107c478bd9Sstevel@tonic-gate * and its documentation for any purpose is hereby granted without fee, 117c478bd9Sstevel@tonic-gate * provided that the above copyright notice appears in all copies and 127c478bd9Sstevel@tonic-gate * that both that copyright notice and this permission notice appear in 137c478bd9Sstevel@tonic-gate * supporting documentation, and that the name of OpenVision not be used 147c478bd9Sstevel@tonic-gate * in advertising or publicity pertaining to distribution of the software 157c478bd9Sstevel@tonic-gate * without specific, written prior permission. OpenVision makes no 167c478bd9Sstevel@tonic-gate * representations about the suitability of this software for any 177c478bd9Sstevel@tonic-gate * purpose. It is provided "as is" without express or implied warranty. 18*55fea89dSDan Cross * 197c478bd9Sstevel@tonic-gate * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 207c478bd9Sstevel@tonic-gate * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 217c478bd9Sstevel@tonic-gate * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR 227c478bd9Sstevel@tonic-gate * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 237c478bd9Sstevel@tonic-gate * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 247c478bd9Sstevel@tonic-gate * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 257c478bd9Sstevel@tonic-gate * PERFORMANCE OF THIS SOFTWARE. 267c478bd9Sstevel@tonic-gate */ 277c478bd9Sstevel@tonic-gate 287c478bd9Sstevel@tonic-gate #ifndef _GSSAPI_GENERIC_H_ 297c478bd9Sstevel@tonic-gate #define _GSSAPI_GENERIC_H_ 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate /* 32159d09a2SMark Phalan * $Id: gssapi_generic.h 15252 2003-03-06 20:26:39Z lxs $ 337c478bd9Sstevel@tonic-gate */ 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate #include <gssapi/gssapi.h> 36505d05c7Sgtb 37505d05c7Sgtb #if defined(__cplusplus) && !defined(GSSAPIGENERIC_BEGIN_DECLS) 38505d05c7Sgtb #define GSSAPIGENERIC_BEGIN_DECLS extern "C" { 39505d05c7Sgtb #define GSSAPIGENERIC_END_DECLS } 40505d05c7Sgtb #else 41505d05c7Sgtb #define GSSAPIGENERIC_BEGIN_DECLS 42505d05c7Sgtb #define GSSAPIGENERIC_END_DECLS 437c478bd9Sstevel@tonic-gate #endif 447c478bd9Sstevel@tonic-gate 45505d05c7Sgtb GSSAPIGENERIC_BEGIN_DECLS 46505d05c7Sgtb 47505d05c7Sgtb /* SUNW14resync */ 48505d05c7Sgtb #ifndef GSS_DLLIMP 49505d05c7Sgtb #define GSS_DLLIMP 50505d05c7Sgtb #endif 51505d05c7Sgtb 52505d05c7Sgtb /* Deprecated MIT krb5 oid names provided for compatibility. 53*55fea89dSDan Cross * The correct oids (GSS_C_NT_USER_NAME, etc) from rfc 2744 54505d05c7Sgtb * are defined in gssapi.h. */ 55505d05c7Sgtb 567c478bd9Sstevel@tonic-gate GSS_DLLIMP extern gss_OID gss_nt_user_name; 577c478bd9Sstevel@tonic-gate GSS_DLLIMP extern gss_OID gss_nt_machine_uid_name; 587c478bd9Sstevel@tonic-gate GSS_DLLIMP extern gss_OID gss_nt_string_uid_name; 59505d05c7Sgtb extern gss_OID gss_nt_service_name_v2; 607c478bd9Sstevel@tonic-gate GSS_DLLIMP extern gss_OID gss_nt_service_name; 61505d05c7Sgtb extern gss_OID gss_nt_exported_name; 62505d05c7Sgtb 63505d05c7Sgtb GSSAPIGENERIC_END_DECLS 647c478bd9Sstevel@tonic-gate 657c478bd9Sstevel@tonic-gate #endif /* _GSSAPI_GENERIC_H_ */ 66