Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-17 09:55:46

0001 /* include/ldap_features.h.  Generated from ldap_features.hin by configure.  */
0002 /* $OpenLDAP$ */
0003 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
0004  *
0005  * Copyright 1998-2024 The OpenLDAP Foundation.
0006  * All rights reserved.
0007  *
0008  * Redistribution and use in source and binary forms, with or without
0009  * modification, are permitted only as authorized by the OpenLDAP
0010  * Public License.
0011  *
0012  * A copy of this license is available in file LICENSE in the
0013  * top-level directory of the distribution or, alternatively, at
0014  * <http://www.OpenLDAP.org/license.html>.
0015  */
0016 
0017 /* 
0018  * LDAP Features
0019  */
0020 
0021 #ifndef _LDAP_FEATURES_H
0022 #define _LDAP_FEATURES_H 1
0023 
0024 /* OpenLDAP API version macros */
0025 #define LDAP_VENDOR_VERSION 20608
0026 #define LDAP_VENDOR_VERSION_MAJOR 2
0027 #define LDAP_VENDOR_VERSION_MINOR 6
0028 #define LDAP_VENDOR_VERSION_PATCH 8
0029 
0030 /*
0031 ** WORK IN PROGRESS!
0032 **
0033 ** OpenLDAP reentrancy/thread-safeness should be dynamically
0034 ** checked using ldap_get_option().
0035 **
0036 ** If built with thread support, the -lldap implementation is:
0037 **      LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
0038 **      LDAP_API_FEATURE_SESSION_THREAD_SAFE
0039 **      LDAP_API_FEATURE_OPERATION_THREAD_SAFE
0040 **
0041 ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
0042 ** can be used to determine if -lldap is thread safe at compile
0043 ** time.
0044 **
0045 */
0046 
0047 /* is -lldap reentrant or not */
0048 #define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1
0049 
0050 /* is -lldap thread safe or not */
0051 #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
0052 
0053 /* LDAP v2 Referrals */
0054 /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
0055 
0056 #endif /* LDAP_FEATURES */