From: Kurt Zeilenga Date: Thu, 1 Jul 1999 04:25:16 +0000 (+0000) Subject: Add LDAP_CLIENT_ERROR macro. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~209 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8871b527d24d52fe87db0bf314a244e44b6e5410;p=openldap Add LDAP_CLIENT_ERROR macro. --- diff --git a/include/ldap.h b/include/ldap.h index 1091ce4254..692d1216be 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -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