]> git.sur5r.net Git - openldap/commitdiff
add feature macros
authorKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jul 2002 18:37:22 +0000 (18:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jul 2002 18:37:22 +0000 (18:37 +0000)
include/ldap.h

index 7430690d2a2c268ed707faeb41144921e052eeb8..556ad2615a991af02f2caa94bebc37b1d48e849b 100644 (file)
@@ -197,6 +197,11 @@ typedef struct ldapcontrol {
 #define LDAP_CONTROL_DUPENT_ENTRY              "2.16.840.1.113719.1.27.101.3"
 #define LDAP_CONTROL_DUPENT    LDAP_CONTROL_DUPENT_REQUEST
 
+#if 0
+#define LDAP_CONTROL_PAGEDRESULTS_REQUEST      "1.2.840.113556.1.4.319"
+#define LDAP_CONTROL_PAGEDRESULTS_RESPONSE     "1.2.840.113556.1.4.320"
+#endif
+
 #define LDAP_CONTROL_SORTREQUEST    "1.2.840.113556.1.4.473"
 #define LDAP_CONTROL_SORTRESPONSE      "1.2.840.113556.1.4.474"
 #define LDAP_CONTROL_VLVREQUEST        "2.16.840.1.113730.3.4.9"
@@ -219,6 +224,13 @@ typedef struct ldapcontrol {
 
 #define LDAP_EXOP_X_WHO_AM_I   "1.3.6.1.4.1.4203.1.11.3"
 
+/* LDAP Features */
+#define LDAP_FEATURE_ALL_OPERATIONAL_ATTRS "1.3.6.1.4.1.4203.1.5.1"  /* + */
+#define LDAP_FEATURE_OBJECTCLASS_ATTRS "1.3.6.1.4.1.4203.1.5.2"
+#define LDAP_FEATURE_ABSOLUTE_FILTERS "1.3.6.1.4.1.4203.1.5.3"  /* (&) (|) */
+#define LDAP_FEATURE_LANGUAGE_TAG_OPTIONS "1.3.6.1.4.1.4203.1.5.4"
+#define LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS "1.3.6.1.4.1.4203.1.5.5"
+
 /*
  * specific LDAP instantiations of BER types we know about
  */