Home | History | Annotate | Line # | Download | only in include
      1 /* $OpenLDAP$ */
      2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
      3  *
      4  * Copyright 1998-2024 The OpenLDAP Foundation.
      5  * All rights reserved.
      6  *
      7  * Redistribution and use in source and binary forms, with or without
      8  * modification, are permitted only as authorized by the OpenLDAP
      9  * Public License.
     10  *
     11  * A copy of this license is available in file LICENSE in the
     12  * top-level directory of the distribution or, alternatively, at
     13  * <http://www.OpenLDAP.org/license.html>.
     14  */
     15 
     16 /*
     17  * LDAP Features
     18  */
     19 
     20 #ifndef _LDAP_FEATURES_H
     21 #define _LDAP_FEATURES_H 1
     22 
     23 /* OpenLDAP API version macros */
     24 #undef LDAP_VENDOR_VERSION
     25 #undef LDAP_VENDOR_VERSION_MAJOR
     26 #undef LDAP_VENDOR_VERSION_MINOR
     27 #undef LDAP_VENDOR_VERSION_PATCH
     28 
     29 /*
     30 ** WORK IN PROGRESS!
     31 **
     32 ** OpenLDAP reentrancy/thread-safeness should be dynamically
     33 ** 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_SAFE
     38 **		LDAP_API_FEATURE_OPERATION_THREAD_SAFE
     39 **
     40 ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
     41 ** can be used to determine if -lldap is thread safe at compile
     42 ** time.
     43 **
     44 */
     45 
     46 /* is -lldap reentrant or not */
     47 #undef LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
     48 
     49 /* is -lldap thread safe or not */
     50 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
     51 
     52 /* LDAP v2 Referrals */
     53 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
     54 
     55 #endif /* LDAP_FEATURES */
     56