]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG messages
authorJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 19:37:50 +0000 (19:37 +0000)
committerJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 19:37:50 +0000 (19:37 +0000)
libraries/libldap/extended.c

index 147d16af7abbea37f522e77c7f808cb775e5843d..58bffe86205d41c491081e00c118669fbb5c5b73 100644 (file)
@@ -43,7 +43,11 @@ ldap_extended_operation(
        BerElement *ber;
        int rc;
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "extended", LDAP_LEVEL_ENTRY, "ldap_extended_operation\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation\n", 0, 0, 0 );
+#endif
 
        assert( ld != NULL );
        assert( LDAP_VALID( ld ) );
@@ -117,7 +121,11 @@ ldap_extended_operation_s(
     int     msgid;
     LDAPMessage *res;
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "extended", LDAP_LEVEL_ENTRY, "ldap_extended_operation_s\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_extended_operation_s\n", 0, 0, 0 );
+#endif
 
        assert( ld != NULL );
        assert( LDAP_VALID( ld ) );
@@ -174,7 +182,11 @@ ldap_parse_extended_result (
        assert( LDAP_VALID( ld ) );
        assert( res != NULL );
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "extended", LDAP_LEVEL_ENTRY, "ldap_parse_extended_result\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_parse_extended_result\n", 0, 0, 0 );
+#endif
 
        if( ld->ld_version < LDAP_VERSION3 ) {
                ld->ld_errno = LDAP_NOT_SUPPORTED;
@@ -297,7 +309,12 @@ ldap_parse_extended_partial (
        assert( LDAP_VALID( ld ) );
        assert( res != NULL );
 
-       Debug( LDAP_DEBUG_TRACE, "ldap_parse_extended_result\n", 0, 0, 0 );
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "extended", LDAP_LEVEL_ENTRY, 
+               "ldap_parse_extended_partial\n" ));
+#else
+       Debug( LDAP_DEBUG_TRACE, "ldap_parse_extended_partial\n", 0, 0, 0 );
+#endif
 
        if( ld->ld_version < LDAP_VERSION3 ) {
                ld->ld_errno = LDAP_NOT_SUPPORTED;