diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-07 13:02:43 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-07 13:02:43 +0000 |
| commit | 928c260c57d1b8d8d5284ad8bb7f00200f23967a (patch) | |
| tree | 33e3a06351e4f28912940638cc05af3e5f0764c7 /ext/ftp/ftp.h | |
| parent | e8de102cd64da2e2825cb020d42e45680ba397e0 (diff) | |
| download | php-git-928c260c57d1b8d8d5284ad8bb7f00200f23967a.tar.gz | |
ZTS cleanup.
Diffstat (limited to 'ext/ftp/ftp.h')
| -rw-r--r-- | ext/ftp/ftp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index 43d7e98827..dd6be94c8b 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -156,13 +156,12 @@ 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, php_stream *outstream, const char *path, - ftptype_t type, int resumepos); +int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, int resumepos TSRMLS_DC); /* 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, php_stream *instream, ftptype_t type, int startpos); +int ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, int startpos TSRMLS_DC); /* returns the size of the given file, or -1 on error */ int ftp_size(ftpbuf_t *ftp, const char *path); @@ -191,11 +190,11 @@ int ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t /* continues a previous nb_(f)get command */ -int ftp_nb_continue_read(ftpbuf_t *ftp); +int ftp_nb_continue_read(ftpbuf_t *ftp TSRMLS_DC); /* continues a previous nb_(f)put command */ -int ftp_nb_continue_write(ftpbuf_t *ftp); +int ftp_nb_continue_write(ftpbuf_t *ftp TSRMLS_DC); #endif |
