]> git.sur5r.net Git - openldap/commitdiff
MaxInt
authorKurt Zeilenga <kurt@openldap.org>
Sat, 26 Jun 2004 04:04:51 +0000 (04:04 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 26 Jun 2004 04:04:51 +0000 (04:04 +0000)
include/ldap.h

index 495da6a380b2caa285854306a3dab67f1f0f6aff..9693413ea88e71416d5220e331ce46cc78f76b15 100644 (file)
@@ -81,6 +81,9 @@ LDAP_BEGIN_DECL
 #define LDAP_ALL_USER_ATTRIBUTES       "*"
 #define LDAP_ALL_OPERATIONAL_ATTRIBUTES        "+" /* RFC 3673 */
 
+/* RFC 2251:  maxInt INTEGER ::= 2147483647 -- (2^^31 - 1) -- */
+#define LDAP_MAXINT (2147483647)
+
 /*
  * LDAP_OPTions
  *     0x0000 - 0x0fff reserved for api options