[PHP4BETA] CVS update: php4/ext/filepro
| From: | sas | Date: | Fri, 21 May 1999 10:05:50 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/filepro | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-943@lists.php.net to get a copy of this message | ||
Date: Friday May 21, 1999 @ 6:05
Author: sas
Update of /repository/php4/ext/filepro
In directory php:/tmp/cvs-serv14196/ext/filepro
Modified Files:
filepro.c
Added Files:
php_filepro.h
Removed Files:
filepro.h
Log Message:
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Index: php4/ext/filepro/filepro.c
diff -u php4/ext/filepro/filepro.c:1.2 php4/ext/filepro/filepro.c:1.3
--- php4/ext/filepro/filepro.c:1.2 Fri Apr 23 16:05:54 1999
+++ php4/ext/filepro/filepro.c Fri May 21 06:05:49 1999
@@ -46,7 +46,7 @@
#include <errno.h>
#include "php_globals.h"
-#include "filepro.h"
+#include "php_filepro.h"
#if HAVE_FILEPRO
typedef struct fp_field {
@@ -186,7 +186,7 @@
* a user is using it! We cannot lock anything since Web connections don't
* provide the ability to later unlock what we locked. Be smart, be safe.
*/
-void php3_filepro(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro)
{
pval *dir;
FILE *fp;
@@ -282,7 +282,7 @@
*
* Errors return false, success returns the row count.
*/
-void php3_filepro_rowcount(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_rowcount)
{
FILE *fp;
char workbuf[MAXPATHLEN];
@@ -336,7 +336,7 @@
*
* Errors return false, success returns the name of the field.
*/
-void php3_filepro_fieldname(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_fieldname)
{
pval *fno;
FP_FIELD *lp;
@@ -374,7 +374,7 @@
*
* Errors return false, success returns the type (edit) of the field
*/
-void php3_filepro_fieldtype(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_fieldtype)
{
pval *fno;
FP_FIELD *lp;
@@ -410,7 +410,7 @@
*
* Errors return false, success returns the character width of the field.
*/
-void php3_filepro_fieldwidth(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_fieldwidth)
{
pval *fno;
FP_FIELD *lp;
@@ -446,7 +446,7 @@
*
* Errors return false, success returns the field count.
*/
-void php3_filepro_fieldcount(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_fieldcount)
{
FP_TLS_VARS;
@@ -470,7 +470,7 @@
*
* Errors return false, success returns the datum.
*/
-void php3_filepro_retrieve(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_retrieve)
{
pval *rno, *fno;
FP_FIELD *lp;
--
PHP 4 Beta