/* include/ldap_features.h. Generated from ldap_features.hin by configure. */1/* $OpenLDAP$ */2/* This work is part of OpenLDAP Software <http://www.openldap.org/>.3*4* Copyright 1998-2022 The OpenLDAP Foundation.5* All rights reserved.6*7* Redistribution and use in source and binary forms, with or without8* modification, are permitted only as authorized by the OpenLDAP9* Public License.10*11* A copy of this license is available in file LICENSE in the12* top-level directory of the distribution or, alternatively, at13* <http://www.OpenLDAP.org/license.html>.14*/1516/*17* LDAP Features18*/1920#ifndef _LDAP_FEATURES_H21#define _LDAP_FEATURES_H 12223/* OpenLDAP API version macros */24#define LDAP_VENDOR_VERSION 00000025#define LDAP_VENDOR_VERSION_MAJOR 226#define LDAP_VENDOR_VERSION_MINOR X27#define LDAP_VENDOR_VERSION_PATCH X2829/*30** WORK IN PROGRESS!31**32** OpenLDAP reentrancy/thread-safeness should be dynamically33** checked using ldap_get_option().34**35** If built with thread support, the -lldap implementation is:36** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)37** LDAP_API_FEATURE_SESSION_THREAD_SAFE38** LDAP_API_FEATURE_OPERATION_THREAD_SAFE39**40** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE41** can be used to determine if -lldap is thread safe at compile42** time.43**44*/4546/* is -lldap reentrant or not */47#define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 14849/* is -lldap thread safe or not */50#define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 15152/* LDAP v2 Referrals */53/* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */5455#endif /* LDAP_FEATURES */565758