diff options
author | Jason Greene <jason@php.net> | 2001-07-17 05:53:03 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2001-07-17 05:53:03 +0000 |
commit | 8eb5a4b856057e4188869e2064974d2ddae06555 (patch) | |
tree | a86992261ad22fa27e3d278ee3a653d347b776f7 /ext/ftp/ftp.h | |
parent | 18463f52a86b846f97f256adb5938f3141d8eee2 (diff) | |
download | php-git-8eb5a4b856057e4188869e2064974d2ddae06555.tar.gz |
@Added support for socket and popen file types to ftp_fput (Jason)
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r-- | ext/ftp/ftp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index b2c7709812..0d87b52428 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -130,11 +130,11 @@ int ftp_pasv(ftpbuf_t *ftp, int pasv); int ftp_get(ftpbuf_t *ftp, FILE *outfp, const char *path, ftptype_t type); -/* stores the data from infp as a file on the remote server +/* stores the data from a file, socket, or process as a file on the remote server * returns true on success, false on error */ int ftp_put(ftpbuf_t *ftp, const char *path, FILE *infp, - ftptype_t type); + int insocket, int issock, ftptype_t type); /* returns the size of the given file, or -1 on error */ int ftp_size(ftpbuf_t *ftp, const char *path); |