1999-09-22 16:07:41 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 15:32:16 +00:00
|
|
|
| PHP Version 4 |
|
1999-09-22 16:07:41 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 15:32:16 +00:00
|
|
|
| Copyright (c) 1997-2002 The PHP Group |
|
1999-09-22 16:07:41 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2001-06-19 21:25:53 +00:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
|
|
|
| http://www.php.net/license/2_02.txt. |
|
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-09-22 16:07:41 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 08:29:35 +00:00
|
|
|
| Author: Andrew Skalski <askalski@chek.com> |
|
1999-09-22 16:07:41 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
1999-09-20 14:10:25 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
#ifndef _INCLUDED_FTP_H
|
|
|
|
#define _INCLUDED_FTP_H
|
|
|
|
|
|
|
|
#if HAVE_FTP
|
|
|
|
|
1999-12-17 21:34:28 +00:00
|
|
|
extern zend_module_entry php_ftp_module_entry;
|
|
|
|
#define php_ftp_module_ptr &php_ftp_module_entry
|
1999-09-20 14:10:25 +00:00
|
|
|
|
2002-01-02 14:58:17 +00:00
|
|
|
#define PHP_FTP_OPT_TIMEOUT_SEC 0
|
|
|
|
|
1999-09-20 15:40:22 +00:00
|
|
|
PHP_MINIT_FUNCTION(ftp);
|
2000-10-08 11:45:18 +00:00
|
|
|
PHP_MINFO_FUNCTION(ftp);
|
1999-09-20 14:10:25 +00:00
|
|
|
|
|
|
|
PHP_FUNCTION(ftp_connect);
|
|
|
|
PHP_FUNCTION(ftp_login);
|
|
|
|
PHP_FUNCTION(ftp_pwd);
|
|
|
|
PHP_FUNCTION(ftp_cdup);
|
|
|
|
PHP_FUNCTION(ftp_chdir);
|
2000-09-13 22:00:31 +00:00
|
|
|
PHP_FUNCTION(ftp_exec);
|
1999-09-20 14:10:25 +00:00
|
|
|
PHP_FUNCTION(ftp_mkdir);
|
|
|
|
PHP_FUNCTION(ftp_rmdir);
|
|
|
|
PHP_FUNCTION(ftp_nlist);
|
1999-09-20 15:40:22 +00:00
|
|
|
PHP_FUNCTION(ftp_rawlist);
|
1999-09-20 14:10:25 +00:00
|
|
|
PHP_FUNCTION(ftp_systype);
|
1999-09-27 14:07:09 +00:00
|
|
|
PHP_FUNCTION(ftp_pasv);
|
1999-09-20 14:10:25 +00:00
|
|
|
PHP_FUNCTION(ftp_get);
|
1999-09-27 14:07:09 +00:00
|
|
|
PHP_FUNCTION(ftp_fget);
|
1999-09-20 14:10:25 +00:00
|
|
|
PHP_FUNCTION(ftp_put);
|
1999-09-27 14:07:09 +00:00
|
|
|
PHP_FUNCTION(ftp_fput);
|
|
|
|
PHP_FUNCTION(ftp_size);
|
|
|
|
PHP_FUNCTION(ftp_mdtm);
|
1999-10-04 18:30:37 +00:00
|
|
|
PHP_FUNCTION(ftp_rename);
|
|
|
|
PHP_FUNCTION(ftp_delete);
|
2000-02-22 20:50:00 +00:00
|
|
|
PHP_FUNCTION(ftp_site);
|
2002-01-01 22:15:22 +00:00
|
|
|
PHP_FUNCTION(ftp_close);
|
2002-01-02 14:58:17 +00:00
|
|
|
PHP_FUNCTION(ftp_set_option);
|
|
|
|
PHP_FUNCTION(ftp_get_option);
|
1999-09-20 14:10:25 +00:00
|
|
|
|
1999-12-17 21:34:28 +00:00
|
|
|
#define phpext_ftp_ptr php_ftp_module_ptr
|
1999-09-20 14:10:25 +00:00
|
|
|
|
|
|
|
#else
|
1999-12-17 21:34:28 +00:00
|
|
|
#define php_ftp_module_ptr NULL
|
1999-09-20 14:10:25 +00:00
|
|
|
#endif /* HAVE_FTP */
|
|
|
|
|
|
|
|
#endif
|