diff lib/gftp.h @ 485:7334a74db6f6

2004-6-15 Brian Masney <masneyb@gftp.org> * lib/protocols.c - added supported for multiline VMS directory listings. Also, parse the date correctly for single line VMS directory listings * lib/gftp.h lib/local.c lib/rfc2068.c lib/rfc959.c lib/sshv.c - added function pointer get_next_dirlist_line to gftp_request structure. This will retrieve the next line of input for the directory listing. This is only implemented in the FTP protocol at the moment. It shouldn't be needed in the other protocols
author masneyb
date Wed, 16 Jun 2004 02:57:02 +0000
parents 632036c6e4a4
children 39e9945288ea
line wrap: on
line diff
--- a/lib/gftp.h	Wed Jun 16 00:59:07 2004 +0000
+++ b/lib/gftp.h	Wed Jun 16 02:57:02 2004 +0000
@@ -429,6 +429,10 @@
   int (*get_next_file)			( gftp_request * request, 
 					  gftp_file *fle, 
 					  int fd );
+  ssize_t (*get_next_dirlist_line)	( gftp_request * request, 
+					  int fd,
+					  char *buf,
+					  size_t buflen );
   off_t (*get_file_size) 		( gftp_request * request, 
 					  const char *filename );
   int (*chdir)				( gftp_request * request, 
@@ -941,7 +945,8 @@
 
 int gftp_parse_ls 			( gftp_request * request,
 					  const char *lsoutput, 
-					  gftp_file *fle );
+					  gftp_file *fle,
+					  int fd );
 
 int gftp_get_all_subdirs 		( gftp_transfer * transfer, 
 					  void (*update_func)