diff lib/gftp.h @ 830:afbe37351940

2006-10-19 Brian Masney <masneyb@gftp.org> WARNING: The CVS version of gFTP is currently broken, especially for international users. This will be fixed in a few days. * src/gtk/gtkui.c src/gtk/gtkui_transfer.c src/gtk/misc-gtk.c lib/gftp.h lib/misc.c lib/protocols.c - removed code that converts the filename to UTF8. This will be handled by the library. Removed utf8_file member from the gftp_file structure. * lib/rfc959.c - convert the file or directory from UTF8 to the proper locale when sending a command to the server. * src/uicommon/gftpui.c src/gtk/menu-items.c lib/misc.c lib/gftp.h (gftp_gen_ls_string) - convert the filename from UTF8 to the proper locale before it is displayed to the user.
author masneyb
date Thu, 19 Oct 2006 11:41:04 +0000
parents b282e346bd25
children f2772ac00751
line wrap: on
line diff
--- a/lib/gftp.h	Sun Oct 15 18:45:06 2006 +0000
+++ b/lib/gftp.h	Thu Oct 19 11:41:04 2006 +0000
@@ -232,9 +232,6 @@
 struct gftp_file_tag 
 {
   /*@null@*/ char *file,	/* Our filename */
-                  *utf8_file,	/* UTF-8 encoded filename for display purposes
-				   only. This is only set if file is not in 
-				   UTF-8 */
                   *user,	/* User that owns it */
                   *group,	/* Group that owns it */
                   *destfile;	/* Full pathname to the destination for the 
@@ -772,7 +769,8 @@
 					  int column, 
 					  int asds );
 
-char * gftp_gen_ls_string 		( gftp_file * fle, 
+char * gftp_gen_ls_string 		( gftp_request * request,
+					  gftp_file * fle, 
 					  char *file_prefixstr, 
 					  char *file_suffixstr );