]> git.sur5r.net Git - openldap/blobdiff - include/ldap_features.nt
Fix some formatting issues
[openldap] / include / ldap_features.nt
index 13012b3081f7105c69e25b97d76e06281af77c36..61ad76f4e765283d8bcb6a9e6087fa32d029471c 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2002 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().
 **
 /* 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 */