CVS update: php31/ext/standard
| From: | zeev | Date: | Sun, 06 Sep 1998 21:34:30 +0000 |
| Subject: | CVS update: php31/ext/standard | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-845@lists.php.net to get a copy of this message | ||
Date: Sunday September 6, 1998 @ 17:34
Author: zeev
Update of /repository/php31/ext/standard
In directory asf:/u2/tmp/cvs-serv21481/ext/standard
Modified Files:
basic_functions.c basic_functions.h
Log Message:
* Rename the configuration stuff to ini
* Some automated configuration patches
* Begin to incorporate automated configuration
* Lots of beautification
Index: php31/ext/standard/basic_functions.c
diff -c php31/ext/standard/basic_functions.c:2.11 php31/ext/standard/basic_functions.c:2.12
*** php31/ext/standard/basic_functions.c:2.11 Tue Sep 1 12:58:36 1998
--- php31/ext/standard/basic_functions.c Sun Sep 6 17:34:30 1998
***************
*** 86,92 ****
static pval *user_compare_func_name;
static HashTable *user_shutdown_function_names;
! function_entry basic_functions[] = {
{"intval", int_value, NULL},
{"doubleval", double_value, NULL},
{"strval", string_value, NULL},
--- 86,92 ----
static pval *user_compare_func_name;
static HashTable *user_shutdown_function_names;
! BEGIN_FUNCTION_ENTRIES(basic_functions)
{"intval", int_value, NULL},
{"doubleval", double_value, NULL},
{"strval", string_value, NULL},
***************
*** 266,277 ****
{"call_user_func", php3_call_user_func, NULL},
{"call_user_method", php3_call_user_method, NULL},
! PHP3_FE(register_shutdown_function, NULL)
! PHP3_FE(memory_status, NULL)
- {NULL, NULL, NULL}
- };
-
php3_module_entry basic_functions_module = {
"Basic Functions", /* extension name */
basic_functions, /* function list */
--- 266,275 ----
{"call_user_func", php3_call_user_func, NULL},
{"call_user_method", php3_call_user_method, NULL},
! PHP_FE(register_shutdown_function, NULL)
! PHP_FE(memory_status, NULL)
! END_FUNCTION_ENTRIES()
php3_module_entry basic_functions_module = {
"Basic Functions", /* extension name */
basic_functions, /* function list */
***************
*** 1315,1321 ****
convert_to_string(varname);
! if (cfg_get_string(varname->value.str.val,&value)==FAILURE) {
RETURN_FALSE;
}
RETURN_STRING(value,1);
--- 1313,1319 ----
convert_to_string(varname);
! if (ini_get_string(varname->value.str.val,&value)==FAILURE) {
RETURN_FALSE;
}
RETURN_STRING(value,1);
***************
*** 1570,1576 ****
}
}
! PHP3_FUNCTION(register_shutdown_function)
{
pval *arg, shutdown_function_name;
--- 1568,1574 ----
}
}
! PHP_FUNCTION(register_shutdown_function)
{
pval *arg, shutdown_function_name;
***************
*** 1590,1596 ****
_php3_hash_next_index_insert(user_shutdown_function_names, &shutdown_function_name,
sizeof(pval), NULL);
}
! PHP3_FUNCTION(memory_status)
{
pval *verbose_arg;
unsigned char verbose;
--- 1588,1594 ----
_php3_hash_next_index_insert(user_shutdown_function_names, &shutdown_function_name,
sizeof(pval), NULL);
}
! PHP_FUNCTION(memory_status)
{
pval *verbose_arg;
unsigned char verbose;
Index: php31/ext/standard/basic_functions.h
diff -c php31/ext/standard/basic_functions.h:2.4 php31/ext/standard/basic_functions.h:2.5
*** php31/ext/standard/basic_functions.h:2.4 Tue Aug 25 08:26:54 1998
--- php31/ext/standard/basic_functions.h Sun Sep 6 17:34:30 1998
***************
*** 29,35 ****
*/
! /* $Id: basic_functions.h,v 2.4 1998/08/25 12:26:54 ssb Exp $ */
#ifndef _BASIC_FUNCTIONS_H
#define _BASIC_FUNCTIONS_H
--- 29,35 ----
*/
! /* $Id: basic_functions.h,v 2.5 1998/09/06 21:34:30 zeev Exp $ */
#ifndef _BASIC_FUNCTIONS_H
#define _BASIC_FUNCTIONS_H
***************
*** 92,99 ****
extern void php3_error_log(INTERNAL_FUNCTION_PARAMETERS);
! PHP3_FUNCTION(register_shutdown_function);
! PHP3_FUNCTION(memory_status);
#if HAVE_PUTENV
typedef struct {
--- 92,99 ----
extern void php3_error_log(INTERNAL_FUNCTION_PARAMETERS);
! PHP_FUNCTION(register_shutdown_function);
! PHP_FUNCTION(memory_status);
#if HAVE_PUTENV
typedef struct {
--
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