[PHP4BETA] CVS update: php4/ext/db

From: Date: Fri, 21 May 1999 10:05:46 +0000
Subject: [PHP4BETA] CVS update: php4/ext/db
Groups: php.version4 
Request: Send a blank email to php-version4+get-936@lists.php.net to get a copy of this message
Date: Friday May 21, 1999 @ 6:05 Author: sas Update of /repository/php4/ext/db In directory php:/tmp/cvs-serv14196/ext/db Modified Files: db.c php3_db.h Log Message: - run ext sources through conv_proto - add necessary phpext_*_ptr Index: php4/ext/db/db.c diff -u php4/ext/db/db.c:1.3 php4/ext/db/db.c:1.4 --- php4/ext/db/db.c:1.3 Sun May 9 04:47:50 1999 +++ php4/ext/db/db.c Fri May 21 06:05:46 1999 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: db.c,v 1.3 1999/05/09 08:47:50 zeev Exp $ */ +/* $Id: db.c,v 1.4 1999/05/21 10:05:46 sas Exp $ */ #define IS_EXT_MODULE #if COMPILE_DL #ifdef PHP_31 @@ -256,14 +256,14 @@ php3_printf(php3_get_info_db()); } -void php3_dblist(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dblist) { char *str = php3_get_info_db(); RETURN_STRING(str,1); } -void php3_dbmopen(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(dbmopen) { pval *filename, *mode; dbm_info *info=NULL; int ret; @@ -421,7 +421,7 @@ return NULL; } -void php3_dbmclose(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(dbmclose) { pval *id; if (ARG_COUNT(ht) != 1 || getParameters(ht,1,&id)==FAILURE) { @@ -469,7 +469,7 @@ * ret = 0 success * ret = 1 key already exists - nothing done */ -void php3_dbminsert(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbminsert) { pval *id, *key, *value; dbm_info *info; @@ -522,7 +522,7 @@ return(ret); } -void php3_dbmreplace(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmreplace) { pval *id, *key, *value; dbm_info *info; @@ -578,7 +578,7 @@ return(ret); } -void php3_dbmfetch(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmfetch) { pval *id, *key; dbm_info *info; @@ -649,7 +649,7 @@ } -void php3_dbmexists(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmexists) { pval *id, *key; dbm_info *info; @@ -692,7 +692,7 @@ return(ret); } -void php3_dbmdelete(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmdelete) { pval *id, *key; dbm_info *info; @@ -734,7 +734,7 @@ return(ret); } -void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmfirstkey) { pval *id; dbm_info *info; @@ -791,7 +791,7 @@ return (ret); } -void php3_dbmnextkey(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(dbmnextkey) { pval *id, *key; dbm_info *info; Index: php4/ext/db/php3_db.h diff -u php4/ext/db/php3_db.h:1.2 php4/ext/db/php3_db.h:1.3 --- php4/ext/db/php3_db.h:1.2 Sun May 9 04:47:50 1999 +++ php4/ext/db/php3_db.h Fri May 21 06:05:46 1999 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php3_db.h,v 1.2 1999/05/09 08:47:50 zeev Exp $ */ +/* $Id: php3_db.h,v 1.3 1999/05/21 10:05:46 sas Exp $ */ #ifndef _PHP3_DB_H @@ -74,19 +74,19 @@ char *_php3_dbmnextkey(dbm_info *info, char *key); /* db file functions */ -extern int php3_minit_db(INIT_FUNC_ARGS); -extern int php3_rinit_db(INIT_FUNC_ARGS); -extern void php3_info_db(ZEND_MODULE_INFO_FUNC_ARGS); -extern void php3_dblist(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmopen(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmclose(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbminsert(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmfetch(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmreplace(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmexists(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmdelete(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmfirstkey(INTERNAL_FUNCTION_PARAMETERS); -extern void php3_dbmnextkey(INTERNAL_FUNCTION_PARAMETERS); +int php3_minit_db(INIT_FUNC_ARGS); +int php3_rinit_db(INIT_FUNC_ARGS); +void php3_info_db(ZEND_MODULE_INFO_FUNC_ARGS); +PHP_FUNCTION(dblist); +PHP_FUNCTION(dbmopen); +PHP_FUNCTION(dbmclose); +PHP_FUNCTION(dbminsert); +PHP_FUNCTION(dbmfetch); +PHP_FUNCTION(dbmreplace); +PHP_FUNCTION(dbmexists); +PHP_FUNCTION(dbmdelete); +PHP_FUNCTION(dbmfirstkey); +PHP_FUNCTION(dbmnextkey); #undef phpext_db_ptr #define phpext_db_ptr NULL -- PHP 4 Beta

« previous php.version4 (#936) next »