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
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]
23 * Copyright (c) 2002-2004, Network Appliance, Inc. All rights reserved.
27 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
31 #ifndef _UDAT_CONFIG_H_
32 #define _UDAT_CONFIG_H_
34 #pragma ident "%Z%%M% %I% %E% SMI"
42 * HEADER: udat_config.h
44 * PURPOSE: provides uDAPL configuration information.
46 * Description: Header file for "uDAPL: User Direct Access Programming
47 * Library, Version: 1.2"
52 #define DAT_VERSION_MAJOR 1
53 #define DAT_VERSION_MINOR 2
56 * The official header files will default DAT_THREADSAFE to DAT_TRUE. If
57 * your project does not wish to use this default, you must ensure that
58 * DAT_THREADSAFE will be set to DAT_FALSE. This may be done by an
59 * explicit #define in a common project header file that is included
60 * before any DAT header files, or through command line directives to the
61 * compiler (presumably controlled by the make environment).
65 * A site, project or platform may consider setting an alternate default
66 * via their make rules, but are discouraged from doing so by editing
67 * the official header files.
71 * The Reference Implementation is not Thread Safe. The Reference
72 * Implementation has chosen to go with the first method and define it
73 * explicitly in the header file.
76 #define DAT_THREADSAFE DAT_FALSE
78 #ifndef DAT_THREADSAFE
79 #define DAT_THREADSAFE DAT_TRUE
80 #endif /* DAT_THREADSAFE */
86 #endif /* _UDAT_CONFIG_H_ */