CVS update: php3

From: Date: Fri, 23 Oct 1998 21:02:45 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-1995@lists.php.net to get a copy of this message
Date: Friday October 23, 1998 @ 17:02 Author: shane Update of /repository/php3 In directory asf:/u2/tmp/cvs-serv13951 Modified Files: php3.dsp variables.c variables.h Added Files: xml.dsp Log Message: xml project file. Get rid of hacks file and move stuff into variables.c Index: php3/php3.dsp diff -c php3/php3.dsp:1.47 php3/php3.dsp:1.48 *** php3/php3.dsp:1.47 Fri Oct 23 16:46:55 1998 --- php3/php3.dsp Fri Oct 23 17:02:37 1998 *************** *** 312,321 **** # End Source File # Begin Source File - SOURCE=.\functions\mod_callbacks.c - # End Source File - # Begin Source File - SOURCE=.\functions\number.c # End Source File # Begin Source File --- 312,317 ---- Index: php3/variables.c diff -c php3/variables.c:1.157 php3/variables.c:1.158 *** php3/variables.c:1.157 Fri Oct 23 16:46:55 1998 --- php3/variables.c Fri Oct 23 17:02:41 1998 *************** *** 29,35 **** */ ! /* $Id: variables.c,v 1.157 1998/10/23 20:46:55 shane Exp $ */ #ifdef THREAD_SAFE #include "tls.h" --- 29,35 ---- */ ! /* $Id: variables.c,v 1.158 1998/10/23 21:02:41 shane Exp $ */ #ifdef THREAD_SAFE #include "tls.h" *************** *** 705,710 **** --- 705,722 ---- } + /* CALLBACK functions to provide pointers to external modules + * that may need them. + */ + PHPAPI HashTable *php3i_get_symbol_table(void) { + TLS_VARS; + return &GLOBAL(symbol_table); + } + + PHPAPI HashTable *php3i_get_function_table(void) { + TLS_VARS; + return &GLOBAL(function_table); + } /* * Local variables: * tab-width: 4 Index: php3/variables.h diff -c php3/variables.h:1.51 php3/variables.h:1.52 *** php3/variables.h:1.51 Fri Sep 18 12:55:03 1998 --- php3/variables.h Fri Oct 23 17:02:43 1998 *************** *** 29,35 **** */ ! /* $Id: variables.h,v 1.51 1998/09/18 16:55:03 rasmus Exp $ */ #ifndef _VARIABLES_H --- 29,35 ---- */ ! /* $Id: variables.h,v 1.52 1998/10/23 21:02:43 shane Exp $ */ #ifndef _VARIABLES_H *************** *** 66,71 **** --- 66,73 ---- extern PHPAPI void var_reset(pval *var); extern PHPAPI void var_uninit(pval *var); + extern PHPAPI HashTable *php3i_get_symbol_table(void); + extern PHPAPI HashTable *php3i_get_function_table(void); extern void read_pointer_value(pval *result,pval *array_result INLINE_TLS); extern inline void get_regular_variable_pointer(pval *result, pval *varname INLINE_TLS); -- 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 (#1995) next »