]> git.sur5r.net Git - openldap/commitdiff
Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated'
authorKurt Zeilenga <kurt@openldap.org>
Wed, 23 Dec 1998 20:01:15 +0000 (20:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 23 Dec 1998 20:01:15 +0000 (20:01 +0000)
interfaces are used.  Added comments to ldap_cdefs.h

include/ldap_cdefs.h
include/ldap_log.h

index 96579288df7e17ab392a82c8b3f74b2d652e48c3..43a069a32f3175466ecca145a5d1570190aa4a7e 100644 (file)
@@ -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) && ( \
index 2959ed48e03440e7b99e244a44d591c200e77416..4e2956fa7c985667fa1a5e12d1f2cefda0f5ca03 100644 (file)
@@ -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