diff options
author | Andrew Skalski <askalski@php.net> | 1999-09-20 15:40:22 +0000 |
---|---|---|
committer | Andrew Skalski <askalski@php.net> | 1999-09-20 15:40:22 +0000 |
commit | 4247839610cb9df2fd45fb9bec961672f369144c (patch) | |
tree | def78669747eb0de44cbf813be723bb0d7e8e506 /ext/ftp/php_ftp.h | |
parent | 82c8a9e745f0a968fe7eccb7dc64d73436f80aa7 (diff) | |
download | php-git-4247839610cb9df2fd45fb9bec961672f369144c.tar.gz |
php3 compatibility added
Diffstat (limited to 'ext/ftp/php_ftp.h')
-rw-r--r-- | ext/ftp/php_ftp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.h b/ext/ftp/php_ftp.h index 1a71ba70a1..bc46683ddc 100644 --- a/ext/ftp/php_ftp.h +++ b/ext/ftp/php_ftp.h @@ -13,7 +13,11 @@ extern php3_module_entry php3_ftp_module_entry; #define php3_ftp_module_ptr &php3_ftp_module_entry -extern PHP_MINIT_FUNCTION(ftp); +#ifdef ZEND_VERSION +PHP_MINIT_FUNCTION(ftp); +#else +int PHP_MINIT_FUNCTION(INIT_FUNC_ARGS); +#endif PHP_FUNCTION(ftp_connect); PHP_FUNCTION(ftp_login); @@ -23,7 +27,7 @@ PHP_FUNCTION(ftp_chdir); PHP_FUNCTION(ftp_mkdir); PHP_FUNCTION(ftp_rmdir); PHP_FUNCTION(ftp_nlist); -PHP_FUNCTION(ftp_listraw); +PHP_FUNCTION(ftp_rawlist); PHP_FUNCTION(ftp_systype); PHP_FUNCTION(ftp_get); PHP_FUNCTION(ftp_put); |