Back to index

php5  5.3.10
php_ftp.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Andrew Skalski <askalski@chek.com>                          |
00016    |          Stefan Esser <sesser@php.net> (resume functions)            |
00017    +----------------------------------------------------------------------+
00018  */
00019 
00020 /* $Id: php_ftp.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef       _INCLUDED_FTP_H
00023 #define       _INCLUDED_FTP_H
00024 
00025 #if HAVE_FTP
00026 
00027 extern zend_module_entry php_ftp_module_entry;
00028 #define php_ftp_module_ptr &php_ftp_module_entry
00029 
00030 #define PHP_FTP_OPT_TIMEOUT_SEC    0
00031 #define PHP_FTP_OPT_AUTOSEEK       1
00032 #define PHP_FTP_AUTORESUME         -1
00033 
00034 PHP_MINIT_FUNCTION(ftp);
00035 PHP_MINFO_FUNCTION(ftp);
00036 
00037 PHP_FUNCTION(ftp_connect);
00038 #ifdef HAVE_OPENSSL_EXT
00039 PHP_FUNCTION(ftp_ssl_connect);
00040 #endif
00041 PHP_FUNCTION(ftp_login);
00042 PHP_FUNCTION(ftp_pwd);
00043 PHP_FUNCTION(ftp_cdup);
00044 PHP_FUNCTION(ftp_chdir);
00045 PHP_FUNCTION(ftp_exec);
00046 PHP_FUNCTION(ftp_raw);
00047 PHP_FUNCTION(ftp_mkdir);
00048 PHP_FUNCTION(ftp_rmdir);
00049 PHP_FUNCTION(ftp_chmod);
00050 PHP_FUNCTION(ftp_alloc);
00051 PHP_FUNCTION(ftp_nlist);
00052 PHP_FUNCTION(ftp_rawlist);
00053 PHP_FUNCTION(ftp_systype);
00054 PHP_FUNCTION(ftp_pasv);
00055 PHP_FUNCTION(ftp_get);
00056 PHP_FUNCTION(ftp_fget);
00057 PHP_FUNCTION(ftp_put);
00058 PHP_FUNCTION(ftp_fput);
00059 PHP_FUNCTION(ftp_size);
00060 PHP_FUNCTION(ftp_mdtm);
00061 PHP_FUNCTION(ftp_rename);
00062 PHP_FUNCTION(ftp_delete);
00063 PHP_FUNCTION(ftp_site);
00064 PHP_FUNCTION(ftp_close);
00065 PHP_FUNCTION(ftp_set_option);
00066 PHP_FUNCTION(ftp_get_option);
00067 PHP_FUNCTION(ftp_nb_get);
00068 PHP_FUNCTION(ftp_nb_fget);
00069 PHP_FUNCTION(ftp_nb_put);
00070 PHP_FUNCTION(ftp_nb_fput);
00071 PHP_FUNCTION(ftp_nb_continue);
00072 
00073 #define phpext_ftp_ptr php_ftp_module_ptr
00074 
00075 #else
00076 #define php_ftp_module_ptr NULL
00077 #endif /* HAVE_FTP */
00078 
00079 #endif