CVS update: php31/ext/ldap

From: Date: Mon, 07 Sep 1998 05:33:18 +0000
Subject: CVS update: php31/ext/ldap
Groups: php.dev 
Request: Send a blank email to php-dev+get-851@lists.php.net to get a copy of this message
Date: Monday September 7, 1998 @ 1:33 Author: shane Update of /repository/php31/ext/ldap In directory asf:/u2/tmp/cvs-serv7663/ext/ldap Modified Files: ldap.c Log Message: add ms sql module, now thread safe. persistent connections are not working, haven't figured out why yet. fixme's added to other modules until cfg_get_* functions are replaced with whatever is coming Index: php31/ext/ldap/ldap.c diff -c php31/ext/ldap/ldap.c:2.5 php31/ext/ldap/ldap.c:2.6 *** php31/ext/ldap/ldap.c:2.5 Sun Aug 30 15:27:38 1998 --- php31/ext/ldap/ldap.c Mon Sep 7 01:33:18 1998 *************** *** 29,35 **** */ ! /* $Id: ldap.c,v 2.5 1998/08/30 19:27:38 shane Exp $ */ #define IS_EXT_MODULE #if !PHP_31 && defined(THREAD_SAFE) #undef THREAD_SAFE --- 29,35 ---- */ ! /* $Id: ldap.c,v 2.6 1998/09/07 05:33:18 shane Exp $ */ #define IS_EXT_MODULE #if !PHP_31 && defined(THREAD_SAFE) #undef THREAD_SAFE *************** *** 52,58 **** #if COMPILE_DL #if PHP_31 #include "ext/phpdl.h" ! #include "ext/standard/dl.h" #else #include "dl/phpdl.h" #include "functions/dl.h" --- 52,58 ---- #if COMPILE_DL #if PHP_31 #include "ext/phpdl.h" ! #include "dl.h" #else #include "dl/phpdl.h" #include "functions/dl.h" *************** *** 252,257 **** --- 252,258 ---- } #endif #endif + /* FIXME if (cfg_get_long("ldap.max_links", &LDAP_GLOBAL(max_links)) == FAILURE) { LDAP_GLOBAL(max_links) = -1; } *************** *** 259,265 **** if (cfg_get_string("ldap.base_dn", &LDAP_GLOBAL(base_dn)) == FAILURE) { LDAP_GLOBAL(base_dn) = NULL; } ! LDAP_GLOBAL(le_result) = register_list_destructors(_free_ldap_result, NULL); LDAP_GLOBAL(le_link) = register_list_destructors(_close_ldap_link, NULL); --- 260,266 ---- if (cfg_get_string("ldap.base_dn", &LDAP_GLOBAL(base_dn)) == FAILURE) { LDAP_GLOBAL(base_dn) = NULL; } ! */ LDAP_GLOBAL(le_result) = register_list_destructors(_free_ldap_result, NULL); LDAP_GLOBAL(le_link) = register_list_destructors(_close_ldap_link, NULL); *************** *** 289,297 **** char maxl[16]; #if HAVE_NSLDAP LDAPVersion ver; ! double SDKVersion; ! /* Print version information */ ! SDKVersion = ldap_version( &ver ); #endif LDAP_TLS_VARS; --- 290,296 ---- char maxl[16]; #if HAVE_NSLDAP LDAPVersion ver; ! double SDKVersion = ldap_version( &ver ); #endif LDAP_TLS_VARS; *************** *** 304,310 **** php3_printf("<table>" "<tr><td>Total links:</td><td>%d/%s</td></tr>\n" ! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 2.5 1998/08/30 19:27:38 shane 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>" --- 303,309 ---- php3_printf("<table>" "<tr><td>Total links:</td><td>%d/%s</td></tr>\n" ! "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 2.6 1998/09/07 05:33:18 shane 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>" -- 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 (#851) next »