]> git.sur5r.net Git - openldap/blobdiff - include/ldap_features.nt
Some minor bugs for dntest ""
[openldap] / include / ldap_features.nt
index 13012b3081f7105c69e25b97d76e06281af77c36..eeec2d1b5839ac3bf682800621ab298b5cafd6dc 100644 (file)
 #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().
 **
 /* 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 */