diff lib/gftp.h @ 378:712d3810f4e1

2003-1-27 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c src/gtk/gtkui_transfer.c src/text/textui.c - added gftp_get_transfer_action(). When a file is to be transfered and already exists, this will return the default action that should be taken. * src/text/textui.c (gftpui_ask_transfer) - implemented this function so that whenever a file exists and is to be transfered, the user will be prompted on whether or not to overwrite/skip/resume * src/text/gftp-text.c (gftp_text_ask_question) - fixups for inputing a single character
author masneyb
date Tue, 27 Jan 2004 23:48:26 +0000
parents 14da115b149b
children 2f5ce7fb5aad
line wrap: on
line diff
--- a/lib/gftp.h	Sat Jan 24 11:45:11 2004 +0000
+++ b/lib/gftp.h	Tue Jan 27 23:48:26 2004 +0000
@@ -741,6 +741,9 @@
 
 char * gftp_descramble_password		( const char *password );
 
+int gftp_get_transfer_action 		( gftp_request * request,
+					  gftp_file * fle );
+
 /* protocols.c */
 #define GFTP_FTP_NUM				0
 #define GFTP_HTTP_NUM				1