xref: /PHP-8.0/ext/ftp/php_ftp.h (revision d1ac7e3a)
1 /*
2    +----------------------------------------------------------------------+
3    | Copyright (c) The PHP Group                                          |
4    +----------------------------------------------------------------------+
5    | This source file is subject to version 3.01 of the PHP license,      |
6    | that is bundled with this package in the file LICENSE, and is        |
7    | available through the world-wide-web at the following url:           |
8    | http://www.php.net/license/3_01.txt                                  |
9    | If you did not receive a copy of the PHP license and are unable to   |
10    | obtain it through the world-wide-web, please send a note to          |
11    | license@php.net so we can mail you a copy immediately.               |
12    +----------------------------------------------------------------------+
13    | Authors: Andrew Skalski <askalski@chek.com>                          |
14    |          Stefan Esser <sesser@php.net> (resume functions)            |
15    +----------------------------------------------------------------------+
16  */
17 
18 #ifndef	_INCLUDED_FTP_H
19 #define	_INCLUDED_FTP_H
20 
21 extern zend_module_entry php_ftp_module_entry;
22 #define phpext_ftp_ptr &php_ftp_module_entry
23 
24 #include "php_version.h"
25 #define PHP_FTP_VERSION PHP_VERSION
26 
27 #define PHP_FTP_OPT_TIMEOUT_SEC	0
28 #define PHP_FTP_OPT_AUTOSEEK	1
29 #define PHP_FTP_OPT_USEPASVADDRESS	2
30 #define PHP_FTP_AUTORESUME		-1
31 
32 PHP_MINIT_FUNCTION(ftp);
33 PHP_MINFO_FUNCTION(ftp);
34 
35 #endif
36