diff lib/gftp.h @ 40:66c064fd05bc

2002-10-17 Brian Masney <masneyb@gftp.org> * lib/protocols.c - add gftp_abort_transfer function. Also, in gftp_transfer_file, when we do a gftp_put_file, if that fails, try to abort the transfer. * lib/rfc959.c - add rfc959_abort_transfer function * lib/rfc2068.c, lib/local.c - point abort_transfer pointer to rfc2068_end_transfer and local_end_transfer respectively * lib/ssh.c, lib/sshv2.c - add FIXME to implement abort function * src/gtk/transfer.c - when we stop a transfer, try to abort it first. If that fails, disconnect from the site completely
author masneyb
date Fri, 18 Oct 2002 02:53:52 +0000
parents 5a178bd04ca5
children 4bcfaf6307b5
line wrap: on
line diff
--- a/lib/gftp.h	Wed Oct 16 02:11:09 2002 +0000
+++ b/lib/gftp.h	Fri Oct 18 02:53:52 2002 +0000
@@ -246,6 +246,7 @@
 					  char *buf, 
 					  size_t size );
   int (*end_transfer) 			( gftp_request * request );
+  int (*abort_transfer) 		( gftp_request * request );
   int (*list_files) 			( gftp_request * request );
   int (*get_next_file)			( gftp_request * request, 
 					  gftp_file *fle, 
@@ -676,6 +677,8 @@
 
 int gftp_end_transfer 			( gftp_request * request );
 
+int gftp_abort_transfer 		( gftp_request * request );
+
 int gftp_read_response 			( gftp_request * request );
 
 int gftp_set_data_type 			( gftp_request * request,