summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-07-17 05:53:03 +0000
committerJason Greene <jason@php.net>2001-07-17 05:53:03 +0000
commit8eb5a4b856057e4188869e2064974d2ddae06555 (patch)
treea86992261ad22fa27e3d278ee3a653d347b776f7 /ext/ftp/ftp.h
parent18463f52a86b846f97f256adb5938f3141d8eee2 (diff)
downloadphp-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.h4
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);