From f0de896ed2dc87b71ae7d146ae006908ad729c92 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 7 Jan 2003 03:44:12 +0000 Subject: Fixed ZTS build. --- ext/ftp/ftp.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ext/ftp/ftp.h') diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index 3b7fb98626..43d7e98827 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -107,7 +107,7 @@ void ftp_gc(ftpbuf_t *ftp); ftpbuf_t* ftp_close(ftpbuf_t *ftp); /* logs into the FTP server, returns true on success, false on error */ -int ftp_login(ftpbuf_t *ftp, const char *user, const char *pass); +int ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC); /* reinitializes the connection, returns true on success, false on error */ int ftp_reinit(ftpbuf_t *ftp); @@ -139,14 +139,14 @@ int ftp_rmdir(ftpbuf_t *ftp, const char *dir); * or NULL on error. the return array must be freed (but don't * free the array elements) */ -char** ftp_nlist(ftpbuf_t *ftp, const char *path); +char** ftp_nlist(ftpbuf_t *ftp, const char *path TSRMLS_DC); /* returns a NULL-terminated array of lines returned by the ftp * LIST command for the given path or NULL on error. the return * array must be freed (but don't * free the array elements) */ -char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive); +char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive TSRMLS_DC); /* switches passive mode on or off * returns true on success, false on error @@ -182,13 +182,12 @@ int ftp_site(ftpbuf_t *ftp, const char *cmd); /* retrieves part of a file and saves its contents to outfp * returns true on success, false on error */ -int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, - ftptype_t type, int resumepos); +int ftp_nb_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_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, int startpos); +int ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, int startpos TSRMLS_DC); /* continues a previous nb_(f)get command */ -- cgit v1.2.1