]> git.sur5r.net Git - openldap/blobdiff - include/ldap_features.h.in
MaxInt
[openldap] / include / ldap_features.h.in
index d77029c3fe94ceb482287c78623d6185c37c7333..c3cd87d7992e1816372e2f428d8132d0c6b2fba8 100644 (file)
@@ -1,13 +1,16 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2004 The OpenLDAP Foundation.
  * 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 at
- * http://www.OpenLDAP.org/license.html or in file LICENSE in the
- * top-level directory of the distribution.
+ * 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>.
  */
 
 /* 
 ** OpenLDAP reentrancy/thread-safeness should be dynamically
 ** checked using ldap_get_option().
 **
-** The -lldap implementation may or may not be:
-**             LDAP_API_FEATURE_THREAD_SAFE
-**
-** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_REENTRANT can
-** be used to determine if -lldap is LDAP_API_FEATURE_THREAD_SAFE at
-** compile time.
+** The -lldap implementation is not thread-safe.
 **
-** The -lldap_r implementation is always THREAD_SAFE but
-** may also be:
+** The -lldap_r implementation is:
+**             LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
+** but also be:
 **             LDAP_API_FEATURE_SESSION_THREAD_SAFE
 **             LDAP_API_FEATURE_OPERATION_THREAD_SAFE
 **
 **
 */
 
-/* is -lldap reentrant or not */
-#undef LDAP_API_FEATURE_X_OPENLDAP_REENTRANT
-
-/* is threadsafe version of -lldap (ie: -lldap_r) *available* or not */
+/* is -lldap_r available or not */
 #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
 
 /* LDAP v2 Kerberos Bind */
 /* LDAP v2 Referrals */
 #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
 
-/* LDAP Server Side Sort. */
-#define LDAP_API_FEATURE_SERVER_SIDE_SORT 1000
-
-/* LDAP Virtual List View. */ 
-#define LDAP_API_FEATURE_VIRTUAL_LIST_VIEW 1000
-
 #endif /* LDAP_FEATURES */