CVS update: php3/functions

From: Date: Tue, 11 Aug 1998 07:23:20 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-93@lists.php.net to get a copy of this message
Date: Tuesday August 11, 1998 @ 3:23 Author: amitay Update of /repository/php3/functions In directory asf:/tmp/cvs-serv24703/functions Modified Files: ldap.c Log Message: don't need ldap_free_entry any more. Updated the docs accordingly. Index: php3/functions/ldap.c diff -c php3/functions/ldap.c:1.52 php3/functions/ldap.c:1.53 *** php3/functions/ldap.c:1.52 Mon Aug 10 01:27:53 1998 --- php3/functions/ldap.c Tue Aug 11 03:23:20 1998 *************** *** 29,35 **** */ ! /* $Id: ldap.c,v 1.52 1998/08/10 05:27:53 rasmus Exp $ */ #ifndef MSVC5 #include "config.h" --- 29,35 ---- */ ! /* $Id: ldap.c,v 1.53 1998/08/11 07:23:20 amitay Exp $ */ #ifndef MSVC5 #include "config.h" *************** *** 98,106 **** {"ldap_first_entry", php3_ldap_first_entry, NULL}, {"ldap_next_entry", php3_ldap_next_entry, NULL}, {"ldap_get_entries", php3_ldap_get_entries, NULL}, - #if 0 - {"ldap_free_entry", php3_ldap_free_entry, NULL}, - #endif {"ldap_first_attribute", php3_ldap_first_attribute, NULL}, {"ldap_next_attribute", php3_ldap_next_attribute, NULL}, {"ldap_get_attributes", php3_ldap_get_attributes, NULL}, --- 98,103 ---- *************** *** 272,278 **** php3_printf("<table>" "<tr><td>Total links:</td><td>%d/%s</td></tr>\n" ! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.52 1998/08/10 05:27:53 rasmus Exp $</td></tr>\n" #if HAVE_NSLDAP "<tr><td>SDK Version:</td><td>%f</td></tr>" "<tr><td>Highest LDAP Protocol Supported:</td><td>%f</td></tr>" --- 269,275 ---- php3_printf("<table>" "<tr><td>Total links:</td><td>%d/%s</td></tr>\n" ! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.53 1998/08/11 07:23:20 amitay Exp $</td></tr>\n" #if HAVE_NSLDAP "<tr><td>SDK Version:</td><td>%f</td></tr>" "<tr><td>Highest LDAP Protocol Supported:</td><td>%f</td></tr>" *************** *** 801,824 **** add_assoc_long(return_value, "count", num_entries); } - #if 0 - void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS) - { - pval *result_entry; - LDAPMessage *ldap_result_entry; - - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &result_entry) == FAILURE) { - WRONG_PARAM_COUNT; - } - - ldap_result_entry = _get_ldap_result_entry(result_entry, list); - if (ldap_result_entry == NULL) RETURN_FALSE; - - /* _free_ldap_result(ldap_result_entry); We shouldn't do this -RL */ - php3_list_delete(result_entry->value.lval); - RETURN_TRUE; - } - #endif void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS) { --- 798,803 ---- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#93) next »