summaryrefslogtreecommitdiff
path: root/ext/filepro/filepro.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-07-27 19:44:46 +0000
committerAndrey Hristov <andrey@php.net>1999-07-27 19:44:46 +0000
commit07d691174b38a5bc05aa6c1fc0ff4d135e8d1356 (patch)
tree1d9930e938977ec797058956d2691854a822b52a /ext/filepro/filepro.c
parentbb8046c4a9a81b5d6d9568d1fb53e9114b1e4f68 (diff)
downloadphp-git-07d691174b38a5bc05aa6c1fc0ff4d135e8d1356.tar.gz
Symbol work.
Diffstat (limited to 'ext/filepro/filepro.c')
-rw-r--r--ext/filepro/filepro.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index 2f12bcde5c..2ce67be16b 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -72,7 +72,7 @@ static FP_FIELD *fp_fieldlist = NULL; /* List of fields */
#endif
-int php3_minit_filepro(INIT_FUNC_ARGS)
+PHP_MINIT_FUNCTION(filepro)
{
#ifdef THREAD_SAFE
fp_global_struct *fp_globals;
@@ -98,7 +98,8 @@ int php3_minit_filepro(INIT_FUNC_ARGS)
return SUCCESS;
}
-int php3_mend_filepro(void){
+PHP_MSHUTDOWN_FUNCTION(filepro)
+{
#ifdef THREAD_SAFE
fp_global_struct *fp_globals;
fp_globals = TlsGetValue(FPTls);
@@ -120,18 +121,18 @@ int php3_mend_filepro(void){
function_entry filepro_functions[] = {
- {"filepro", php3_filepro, NULL},
- {"filepro_rowcount", php3_filepro_rowcount, NULL},
- {"filepro_fieldname", php3_filepro_fieldname, NULL},
- {"filepro_fieldtype", php3_filepro_fieldtype, NULL},
- {"filepro_fieldwidth", php3_filepro_fieldwidth, NULL},
- {"filepro_fieldcount", php3_filepro_fieldcount, NULL},
- {"filepro_retrieve", php3_filepro_retrieve, NULL},
+ PHP_FE(filepro, NULL)
+ PHP_FE(filepro_rowcount, NULL)
+ PHP_FE(filepro_fieldname, NULL)
+ PHP_FE(filepro_fieldtype, NULL)
+ PHP_FE(filepro_fieldwidth, NULL)
+ PHP_FE(filepro_fieldcount, NULL)
+ PHP_FE(filepro_retrieve, NULL)
{NULL, NULL, NULL}
};
php3_module_entry filepro_module_entry = {
- "FilePro", filepro_functions, php3_minit_filepro, php3_mend_filepro, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
+ "FilePro", filepro_functions, PHP_MINIT(filepro), PHP_MSHUTDOWN(filepro), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
};