]> git.sur5r.net Git - openldap/blobdiff - include/ldap_features.nt
Some minor bugs for dntest ""
[openldap] / include / ldap_features.nt
index f1c2e3625b25e6fe467147be93e5f08967f43c17..eeec2d1b5839ac3bf682800621ab298b5cafd6dc 100644 (file)
@@ -1,5 +1,6 @@
+/* $OpenLDAP$ */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
 #ifndef _LDAP_FEATURES_H
 #define _LDAP_FEATURES_H 1
 
+/* OpenLDAP API version macros */
+#define LDAP_VENDOR_VERSION                    0
+#define LDAP_VENDOR_VERSION_MAJOR      2
+#define LDAP_VENDOR_VERSION_MINOR      X
+#define LDAP_VENDOR_VERSION_PATCH      X
+
 /*
+** WORK IN PROGRESS!
+**
 ** OpenLDAP reentrancy/thread-safeness should be dynamically
 ** checked using ldap_get_option().
 **
 /* is threadsafe version of -lldap (ie: -lldap_r) *available* or not */
 #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE LDAP_VENDOR_VERSION
 
-/* LDAP v2 DNS */
-/* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_DNS */
-
 /* LDAP v2 Referrals */
 #define LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS LDAP_VENDOR_VERSION
 
+/* LDAP Server Side Sort. */
+#define LDAP_API_FEATURE_SERVER_SIDE_SORT 1000
+
+/* LDAP Virtual List View. Version = 1000 + draft revision.
+ * VLV requires Server Side Sort control.
+ */
+#define LDAP_API_FEATURE_VIRTUAL_LIST_VIEW 1000
+
 #endif /* LDAP_FEATURES */