From 3f6a882c55731965d8e001465c19fcf9f736c69b Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Fri, 29 Sep 2000 01:06:53 +0000 Subject: [PATCH] * include of ldap.h removed. this header is now a public header, and clients of the XPCOM wrapper don't need to be polluted with the contents of ldap.h, since that functionality should happen entirely inside the wrapper. * NS_ERROR_LDAP_DECODING_ERROR added a=r=(not built) git-svn-id: svn://10.0.0.236/trunk@80121 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/directory/xpcom/base/public/nsLDAP.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/directory/xpcom/base/public/nsLDAP.h b/mozilla/directory/xpcom/base/public/nsLDAP.h index c1468299286..363fe412283 100644 --- a/mozilla/directory/xpcom/base/public/nsLDAP.h +++ b/mozilla/directory/xpcom/base/public/nsLDAP.h @@ -1,4 +1,4 @@ -#include "ldap.h" + #include "nsError.h" #include "nspr.h" @@ -14,6 +14,9 @@ #define NS_ERROR_LDAP_NOT_SUPPORTED \ NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_LDAP, LDAP_NOT_SUPPORTED) +#define NS_ERROR_LDAP_DECODING_ERROR \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_LDAP, LDAP_DECODING_ERROR) + #ifdef DEBUG extern PRLogModuleInfo *gLDAPLogModule; // defn in nsLDAPProtocolModule.cpp #endif