ldap_features.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* include/ldap_features.h. Generated from ldap_features.hin by configure. */
  2. /* $OpenLDAP$ */
  3. /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  4. *
  5. * Copyright 1998-2024 The OpenLDAP Foundation.
  6. * All rights reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted only as authorized by the OpenLDAP
  10. * Public License.
  11. *
  12. * A copy of this license is available in file LICENSE in the
  13. * top-level directory of the distribution or, alternatively, at
  14. * <http://www.OpenLDAP.org/license.html>.
  15. */
  16. /*
  17. * LDAP Features
  18. */
  19. #ifndef _LDAP_FEATURES_H
  20. #define _LDAP_FEATURES_H 1
  21. /* OpenLDAP API version macros */
  22. #define LDAP_VENDOR_VERSION 20609
  23. #define LDAP_VENDOR_VERSION_MAJOR 2
  24. #define LDAP_VENDOR_VERSION_MINOR 6
  25. #define LDAP_VENDOR_VERSION_PATCH 9
  26. /*
  27. ** WORK IN PROGRESS!
  28. **
  29. ** OpenLDAP reentrancy/thread-safeness should be dynamically
  30. ** checked using ldap_get_option().
  31. **
  32. ** If built with thread support, the -lldap implementation is:
  33. ** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
  34. ** LDAP_API_FEATURE_SESSION_THREAD_SAFE
  35. ** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
  36. **
  37. ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
  38. ** can be used to determine if -lldap is thread safe at compile
  39. ** time.
  40. **
  41. */
  42. /* is -lldap reentrant or not */
  43. #define LDAP_API_FEATURE_X_OPENLDAP_REENTRANT 1
  44. /* is -lldap thread safe or not */
  45. #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
  46. /* LDAP v2 Referrals */
  47. /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
  48. #endif /* LDAP_FEATURES */