summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-07-04 13:48:48 +0000
committerfoobar <sniper@php.net>2002-07-04 13:48:48 +0000
commitb0ed560c95a560690786bd4e9a1b5b6f8725cda3 (patch)
tree496f6e39e01d2e207d84cb34c0d3a3e314bdbb90 /ext/ftp/ftp.h
parenta6eeec28b63b6661f5b25810f17d7f665daefc22 (diff)
downloadphp-git-b0ed560c95a560690786bd4e9a1b5b6f8725cda3.tar.gz
@- Added optional 3rd parameter 'recursive' to ftp_rawlist() which will
@ do 'LIST -R' instead of 'LIST'. (Jani) # tested too..and it even works. :) # (removed that Z_TYPE_P() pollution also..)
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index b201045f9b..f980a8c757 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -120,7 +120,7 @@ char** ftp_nlist(ftpbuf_t *ftp, const char *path);
* array must be freed (but don't
* free the array elements)
*/
-char** ftp_list(ftpbuf_t *ftp, const char *path);
+char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive);
/* switches passive mode on or off
* returns true on success, false on error