Diff for /include/ldap_log.h between versions 1.26.2.2 and 1.30

version 1.26.2.2, 2002/09/19 20:07:35 version 1.30, 2003/06/06 11:56:18
Line 1 Line 1
 /* $OpenLDAP$ */  /* $OpenLDAP: pkg/ldap/include/ldap_log.h,v 1.29 2003/01/03 19:20:50 kurt Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA   * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 139  LDAP_BEGIN_DECL Line 139  LDAP_BEGIN_DECL
   
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
 extern int ldap_loglevels[LDAP_SUBSYS_NUM];  extern int ldap_loglevels[LDAP_SUBSYS_NUM];
   
   #ifdef LDAP_DEBUG
   
 #define LDAP_LOG(a, b, fmt, arg1, arg2, arg3) do {\  #define LDAP_LOG(a, b, fmt, arg1, arg2, arg3) do {\
         if (ldap_loglevels[LDAP_SUBSYS_##a] >= LDAP_LEVEL_##b || \          if (ldap_loglevels[LDAP_SUBSYS_##a] >= LDAP_LEVEL_##b || \
                 ldap_loglevels[LDAP_SUBSYS_GLOBAL] >= LDAP_LEVEL_##b)\                  ldap_loglevels[LDAP_SUBSYS_GLOBAL] >= LDAP_LEVEL_##b)\
Line 150  extern int ldap_loglevels[LDAP_SUBSYS_NU Line 153  extern int ldap_loglevels[LDAP_SUBSYS_NU
         (ldap_loglevels[LDAP_SUBSYS_##a] >= LDAP_LEVEL_##b || \          (ldap_loglevels[LDAP_SUBSYS_##a] >= LDAP_LEVEL_##b || \
          ldap_loglevels[LDAP_SUBSYS_GLOBAL] >= LDAP_LEVEL_##b)           ldap_loglevels[LDAP_SUBSYS_GLOBAL] >= LDAP_LEVEL_##b)
   
 #endif /* LDAP_LOG */  #endif /* LDAP_DEBUG */
   
   #endif /* NEW_LOGGING */
   
 #ifndef LDAP_LOG  #ifndef LDAP_LOG
 #define LDAP_LOG(a, b, fmt, arg1, arg2, arg3)  #define LDAP_LOG(a, b, fmt, arg1, arg2, arg3)
   #define LDAP_LOGS_TEST(a, b) 0
 #endif  #endif
   
 LDAP_LUTIL_F(int) lutil_mnem2level LDAP_P(( const char *level ));  LDAP_LUTIL_F(int) lutil_mnem2level LDAP_P(( const char *level ));

Removed from v.1.26.2.2  
changed lines
  Added in v.1.30


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org