]> git.sur5r.net Git - openldap/commitdiff
Add LDAP_CLIENT_ERROR macro.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 1 Jul 1999 04:25:16 +0000 (04:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 1 Jul 1999 04:25:16 +0000 (04:25 +0000)
include/ldap.h

index 1091ce4254d497e018c52ce768e3e7eac5461d66..692d1216be06706439eb27d342f019c8f916339c 100644 (file)
@@ -339,6 +339,8 @@ typedef struct ldapmod {
 #define LDAP_RESULTS_TOO_LARGE         0x46 /* CLDAP */
 #define LDAP_AFFECTS_MULTIPLE_DSAS     0x47 /* LDAPv3 */
 
+#define LDAP_CLIENT_ERROR(n)   ( (int)(n) >= 0x50 )
+
 #define LDAP_OTHER                     0x50
 #define LDAP_SERVER_DOWN               0x51
 #define LDAP_LOCAL_ERROR               0x52