From: Kurt Zeilenga Date: Wed, 23 Dec 1998 20:01:15 +0000 (+0000) Subject: Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated' X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~879 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fe153acaacbb315fe465356894edfd1784c907e;p=openldap Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated' interfaces are used. Added comments to ldap_cdefs.h --- diff --git a/include/ldap_cdefs.h b/include/ldap_cdefs.h index 96579288df..43a069a32f 100644 --- a/include/ldap_cdefs.h +++ b/include/ldap_cdefs.h @@ -7,8 +7,8 @@ # define LDAP_BEGIN_DECL extern "C" { # define LDAP_END_DECL } #else -# define LDAP_BEGIN_DECL /* empty */ -# define LDAP_END_DECL /* empty */ +# define LDAP_BEGIN_DECL /* begin declarations */ +# define LDAP_END_DECL /* end declarations */ #endif #if !defined(__NO_PROTOTYPES) && ( \ diff --git a/include/ldap_log.h b/include/ldap_log.h index 2959ed48e0..4e2956fa7c 100644 --- a/include/ldap_log.h +++ b/include/ldap_log.h @@ -30,6 +30,7 @@ LDAP_BEGIN_DECL #define LDAP_DEBUG_SHELL 0x0400 #define LDAP_DEBUG_PARSE 0x0800 +#define LDAP_DEBUG_DEPRECIATED 0x1000 #define LDAP_DEBUG_NONE 0x8000 #define LDAP_DEBUG_ANY -1