summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
blob: e23b659ae5d9ac1643544433d19d4c6eee7b8417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* $Id$ */

#ifndef	_INCLUDED_FTP_H
#define	_INCLUDED_FTP_H

#if COMPILE_DL
#undef HAVE_FTP
#define HAVE_FTP 1
#endif

#if HAVE_FTP

extern php3_module_entry php3_ftp_module_entry;
#define php3_ftp_module_ptr &php3_ftp_module_entry

extern PHP_MINIT_FUNCTION(ftp);

PHP_FUNCTION(ftp_connect);
PHP_FUNCTION(ftp_login);
PHP_FUNCTION(ftp_chdir);
PHP_FUNCTION(ftp_nlist);
PHP_FUNCTION(ftp_listraw);
PHP_FUNCTION(ftp_systype);
PHP_FUNCTION(ftp_get);
PHP_FUNCTION(ftp_put);
PHP_FUNCTION(ftp_quit);

#define phpext_ftp_ptr php3_ftp_module_ptr

#else
#define php3_ftp_module_ptr NULL
#endif	/* HAVE_FTP */

#endif