diff options
author | Wez Furlong <wez@php.net> | 2002-03-15 21:03:08 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-15 21:03:08 +0000 |
commit | 0f65280cb5118d8c1a85db6626f7be365f3d1b26 (patch) | |
tree | 931b09acc5041eb771017e3ebf9ecb9aa833d722 /ext/ftp/ftp.h | |
parent | 3a1ebd4f519facbd7ec769304857aad40e49cf1c (diff) | |
download | php-git-0f65280cb5118d8c1a85db6626f7be365f3d1b26.tar.gz |
New PHP streams...
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r-- | ext/ftp/ftp.h | 5 |
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); |