CVS update: php3/functions

From: Date: Mon, 10 Aug 1998 05:27:57 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-66@lists.php.net to get a copy of this message
Date: Monday August 10, 1998 @ 1:27 Author: rasmus Update of /repository/php3/functions In directory asf:/export/home/rasmus/php3/functions Modified Files: ldap.c php3_ldap.h Log Message: Eliminate ldap_free_entry() function - Entries should not be freed, only results. Index: php3/functions/ldap.c diff -c php3/functions/ldap.c:1.51 php3/functions/ldap.c:1.52 *** php3/functions/ldap.c:1.51 Sun Aug 9 22:53:57 1998 --- php3/functions/ldap.c Mon Aug 10 01:27:53 1998 *************** *** 29,35 **** */ ! /* $Id: ldap.c,v 1.51 1998/08/10 02:53:57 rasmus Exp $ */ #ifndef MSVC5 #include "config.h" --- 29,35 ---- */ ! /* $Id: ldap.c,v 1.52 1998/08/10 05:27:53 rasmus Exp $ */ #ifndef MSVC5 #include "config.h" *************** *** 98,104 **** --- 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}, *************** *** 270,276 **** 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.51 1998/08/10 02:53:57 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>" --- 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>" *************** *** 799,805 **** add_assoc_long(return_value, "count", num_entries); } ! void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS) { pval *result_entry; --- 801,807 ---- add_assoc_long(return_value, "count", num_entries); } ! #if 0 void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS) { pval *result_entry; *************** *** 816,822 **** php3_list_delete(result_entry->value.lval); RETURN_TRUE; } ! void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS) { --- 818,824 ---- php3_list_delete(result_entry->value.lval); RETURN_TRUE; } ! #endif void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS) { Index: php3/functions/php3_ldap.h diff -c php3/functions/php3_ldap.h:1.20 php3/functions/php3_ldap.h:1.21 *** php3/functions/php3_ldap.h:1.20 Fri Aug 7 17:37:32 1998 --- php3/functions/php3_ldap.h Mon Aug 10 01:27:56 1998 *************** *** 29,35 **** */ ! /* $Id: php3_ldap.h,v 1.20 1998/08/07 21:37:32 rasmus Exp $ */ #ifndef _PHP3_LDAP_H #define _PHP3_LDAP_H --- 29,35 ---- */ ! /* $Id: php3_ldap.h,v 1.21 1998/08/10 05:27:56 rasmus Exp $ */ #ifndef _PHP3_LDAP_H #define _PHP3_LDAP_H *************** *** 64,71 **** extern void php3_ldap_first_entry(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_next_entry(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_get_entries(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS); ! extern void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_next_attribute(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_get_attributes(INTERNAL_FUNCTION_PARAMETERS); --- 64,72 ---- extern void php3_ldap_first_entry(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_next_entry(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_get_entries(INTERNAL_FUNCTION_PARAMETERS); + #if 0 extern void php3_ldap_free_entry(INTERNAL_FUNCTION_PARAMETERS); ! #endif extern void php3_ldap_first_attribute(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_next_attribute(INTERNAL_FUNCTION_PARAMETERS); extern void php3_ldap_get_attributes(INTERNAL_FUNCTION_PARAMETERS); -- 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 (#66) next »