comparison lib/gftp.h @ 184:65eb40fb4f03

2003-6-16 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c lib/options.h lib/protocols.c src/gtk/misc-gtk.c - added remote_charsets option. Whenever a file is read in that is not in UTF-8, it will first attempt to convert it from the local charset, and if that fails, it will try each of the locales in this list. I have no idea if this even works, so if someone can test this, please let me know.
author masneyb
date Tue, 17 Jun 2003 02:02:42 +0000
parents 33b394ebba68
children 13ca1defdc75
comparison
equal deleted inserted replaced
183:9d42809f9fb4 184:65eb40fb4f03
176 #define GFTP_SORT_COL_ATTRIBS 6 176 #define GFTP_SORT_COL_ATTRIBS 6
177 177
178 struct gftp_file_tag 178 struct gftp_file_tag
179 { 179 {
180 char *file, /* Our filename */ 180 char *file, /* Our filename */
181 *utf8_file, /* UTF-8 encoded filename for display purposes
182 only. This is only set if file is not in
183 UTF-8 */
181 *user, /* User that owns it */ 184 *user, /* User that owns it */
182 *group, /* Group that owns it */ 185 *group, /* Group that owns it */
183 *attribs, /* Attribs (-rwxr-x-rx) */ 186 *attribs, /* Attribs (-rwxr-x-rx) */
184 *destfile; /* Full pathname to the destination for the 187 *destfile; /* Full pathname to the destination for the
185 file transfer */ 188 file transfer */
415 int num_local_options_vars; 418 int num_local_options_vars;
416 GHashTable * local_options_hash; 419 GHashTable * local_options_hash;
417 #ifdef USE_SSL 420 #ifdef USE_SSL
418 SSL * ssl; 421 SSL * ssl;
419 #endif 422 #endif
423
424 #if GLIB_MAJOR_VERSION > 1
425 GIConv iconv;
426 unsigned int iconv_initialized : 1;
427 #endif
420 }; 428 };
421 429
422 430
423 typedef struct gftp_transfer_tag 431 typedef struct gftp_transfer_tag
424 { 432 {