summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index a44c463461..38b75b1f73 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -130,14 +130,13 @@ int ftp_pasv(ftpbuf_t *ftp, int pasv);
/* retrieves a file and saves its contents to outfp
* returns true on success, false on error
*/
-int ftp_get(ftpbuf_t *ftp, FILE *outfp, const char *path,
+int ftp_get(ftpbuf_t *ftp, php_stream * outstream, const char *path,
ftptype_t type);
/* 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,
- int insocket, int issock, ftptype_t type);
+int ftp_put(ftpbuf_t *ftp, const char *path, php_stream * instream, ftptype_t type);
/* returns the size of the given file, or -1 on error */
int ftp_size(ftpbuf_t *ftp, const char *path);