2005-08-12 14:52:49 +08:00
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
*
|
2020-01-10 00:50:21 +08:00
|
|
|
* Copyright 1998-2020 The OpenLDAP Foundation.
|
2005-08-12 14:52:49 +08:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
* Public License.
|
|
|
|
*
|
|
|
|
* A copy of this license is available in file LICENSE in the
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* LDAP Features
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LDAP_FEATURES_H
|
|
|
|
#define _LDAP_FEATURES_H 1
|
|
|
|
|
|
|
|
/* OpenLDAP API version macros */
|
|
|
|
#undef LDAP_VENDOR_VERSION
|
|
|
|
#undef LDAP_VENDOR_VERSION_MAJOR
|
|
|
|
#undef LDAP_VENDOR_VERSION_MINOR
|
|
|
|
#undef LDAP_VENDOR_VERSION_PATCH
|
|
|
|
|
|
|
|
/*
|
|
|
|
** WORK IN PROGRESS!
|
|
|
|
**
|
|
|
|
** OpenLDAP reentrancy/thread-safeness should be dynamically
|
|
|
|
** checked using ldap_get_option().
|
|
|
|
**
|
2020-05-31 01:44:45 +08:00
|
|
|
** If built with thread support, the -lldap implementation is:
|
2005-08-12 14:52:49 +08:00
|
|
|
** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
|
|
|
|
** LDAP_API_FEATURE_SESSION_THREAD_SAFE
|
|
|
|
** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
|
|
|
|
**
|
|
|
|
** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
|
2020-05-31 01:34:16 +08:00
|
|
|
** can be used to determine if -lldap is thread safe at compile
|
|
|
|
** time.
|
2005-08-12 14:52:49 +08:00
|
|
|
**
|
|
|
|
*/
|
|
|
|
|
2020-05-31 01:44:45 +08:00
|
|
|
/* is -lldap thread safe or not */
|
2005-08-12 14:52:49 +08:00
|
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
|
|
|
|
|
|
|
|
/* LDAP v2 Referrals */
|
|
|
|
#undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
|
|
|
|
|
|
|
|
#endif /* LDAP_FEATURES */
|