ldap_featuresh.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. (* include/ldap_features.h. Generated automatically by configure. *)
  2. (* $OpenLDAP: pkg/ldap/include/ldap_features.h.in,v 1.13.2.1 2003/02/09 17:02:17 kurt Exp $ *)
  3. (*
  4. * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
  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. A copy of this license is available at
  10. * http://www.OpenLDAP.org/license.html or in file LICENSE in the
  11. * top-level directory of the distribution.
  12. *)
  13. (*
  14. * LDAP Features
  15. *)
  16. (* OpenLDAP API version macros *)
  17. const
  18. LDAP_VENDOR_VERSION = 20228;
  19. LDAP_VENDOR_VERSION_MAJOR = 2;
  20. LDAP_VENDOR_VERSION_MINOR = 2;
  21. LDAP_VENDOR_VERSION_PATCH = 28;
  22. (*
  23. ** WORK IN PROGRESS!
  24. **
  25. ** OpenLDAP reentrancy/thread-safeness should be dynamically
  26. ** checked using ldap_get_option().
  27. **
  28. ** The -lldap implementation is not thread-safe.
  29. **
  30. ** The -lldap_r implementation is:
  31. ** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
  32. ** but also be:
  33. ** LDAP_API_FEATURE_SESSION_THREAD_SAFE
  34. ** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
  35. **
  36. ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
  37. ** can be used to determine if -lldap_r is available at compile
  38. ** time. You must define LDAP_THREAD_SAFE if and only if you
  39. ** link with -lldap_r.
  40. **
  41. ** If you fail to define LDAP_THREAD_SAFE when linking with
  42. ** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap,
  43. ** provided header definations and declarations may be incorrect.
  44. **
  45. *)
  46. (* is -lldap_r available or not *)
  47. {$DEFINE LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE}
  48. (* LDAP v2 Kerberos Bind *)
  49. //{$UNDEF LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND}
  50. (* LDAP v2 Referrals *)
  51. //{$UNDEF LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS}