2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A/*
2N/A * Copyright (c) 2002-2004, Network Appliance, Inc. All rights reserved.
2N/A */
2N/A
2N/A/*
2N/A * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
2N/A */
2N/A
2N/A#ifndef _UDAT_CONFIG_H_
2N/A#define _UDAT_CONFIG_H_
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A/*
2N/A *
2N/A * HEADER: udat_config.h
2N/A *
2N/A * PURPOSE: provides uDAPL configuration information.
2N/A *
2N/A * Description: Header file for "uDAPL: User Direct Access Programming
2N/A * Library, Version: 1.2"
2N/A *
2N/A */
2N/A
2N/A
2N/A#define DAT_VERSION_MAJOR 1
2N/A#define DAT_VERSION_MINOR 2
2N/A
2N/A/*
2N/A * The official header files will default DAT_THREADSAFE to DAT_TRUE. If
2N/A * your project does not wish to use this default, you must ensure that
2N/A * DAT_THREADSAFE will be set to DAT_FALSE. This may be done by an
2N/A * explicit #define in a common project header file that is included
2N/A * before any DAT header files, or through command line directives to the
2N/A * compiler (presumably controlled by the make environment).
2N/A */
2N/A
2N/A/*
2N/A * A site, project or platform may consider setting an alternate default
2N/A * via their make rules, but are discouraged from doing so by editing
2N/A * the official header files.
2N/A */
2N/A
2N/A/*
2N/A * The Reference Implementation is not Thread Safe. The Reference
2N/A * Implementation has chosen to go with the first method and define it
2N/A * explicitly in the header file.
2N/A */
2N/A
2N/A#define DAT_THREADSAFE DAT_FALSE
2N/A
2N/A#ifndef DAT_THREADSAFE
2N/A#define DAT_THREADSAFE DAT_TRUE
2N/A#endif /* DAT_THREADSAFE */
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _UDAT_CONFIG_H_ */