summaryrefslogtreecommitdiff
path: root/ext/filepro/filepro.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
committerSascha Schumann <sas@php.net>1999-05-21 10:06:25 +0000
commitb57dc275950b228f2399990471c4f22b7d154c6c (patch)
treea89fe99e356b218591b0b0b392862e0b9ddd4e7e /ext/filepro/filepro.c
parent4fe8fe715e4347a4063a57e1a9fd6dc013ca9ee0 (diff)
downloadphp-git-b57dc275950b228f2399990471c4f22b7d154c6c.tar.gz
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Diffstat (limited to 'ext/filepro/filepro.c')
-rw-r--r--ext/filepro/filepro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index 6935530d35..2f8cdbd2a8 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -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 @@ BOOL WINAPI DllMain(HANDLE hModule,
* 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 @@ void php3_filepro(INTERNAL_FUNCTION_PARAMETERS)
*
* 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 @@ void php3_filepro_rowcount(INTERNAL_FUNCTION_PARAMETERS)
*
* 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 @@ void php3_filepro_fieldname(INTERNAL_FUNCTION_PARAMETERS)
*
* 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 @@ void php3_filepro_fieldtype(INTERNAL_FUNCTION_PARAMETERS)
*
* 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 @@ void php3_filepro_fieldwidth(INTERNAL_FUNCTION_PARAMETERS)
*
* 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 @@ void php3_filepro_fieldcount(INTERNAL_FUNCTION_PARAMETERS)
*
* Errors return false, success returns the datum.
*/
-void php3_filepro_retrieve(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(filepro_retrieve)
{
pval *rno, *fno;
FP_FIELD *lp;