]> git.sur5r.net Git - openldap/commitdiff
Add ldapAssertionFailed result code
authorKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jun 2003 02:24:26 +0000 (02:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jun 2003 02:24:26 +0000 (02:24 +0000)
include/ldap.h
libraries/libldap/error.c

index a6acd33c812ce6bec455092673cddd050df48a6e..9ce21953c9c92cbd07ceffc2eae5e2f69d4761b9 100644 (file)
@@ -486,6 +486,8 @@ typedef struct ldapcontrol {
 #define LDAP_CUP_RELOAD_REQUIRED               0x105
 #endif
 
+#define LDAP_ASSERTION_FAILED                  0x10f
+
 #ifdef LDAP_EXOP_X_CANCEL
 /* resultCode for Cancel Response */
 #define LDAP_CANCELLED                                 0x110
index 464b9e5172ce3877669cec5c75db24f977d53b93..079eca6e5c71e6c6bf933489bc094b5ce2af75cc 100644 (file)
@@ -93,6 +93,8 @@ static struct ldaperror ldap_builtin_errlist[] = {
        {LDAP_CLIENT_LOOP,                              N_("Client Loop")},
        {LDAP_REFERRAL_LIMIT_EXCEEDED,  N_("Referral Limit Exceeded")},
 
+       {LDAP_ASSERTION_FAILED,                 N_("Assertion Failed")},
+
 #ifdef LDAP_CLIENT_UPDATE
        {LDAP_CUP_RESOURCES_EXHAUSTED,  N_("Client Update Resource Exhausted")},
        {LDAP_CUP_SECURITY_VIOLATION,   N_("Client Update Security Violation")},