Mercurial > gftp.yaz
comparison lib/gftp.h @ 207:cf4098008615
2003-7-1 Brian Masney <masneyb@gftp.org>
* lib/httpcommon.h lib/rfc2068.c - more HTTP improvements. Mostly with
chunked file transfers. Also fixed several memory leaks. Added more
informative error messages to aid in debugging. Size parsing fixes
* lib/misc.c (base64_encode) - alphabet fix (+ wasn't a valid
character, it should have been /) (thanks to Holger Kiehl
<Holger.Kiehl@dwd.de> for pointing this out)
* lib/config_file.c lib/gftp.h - added copy function for options
variables. The functions gftp_config_file_copy_text(),
gftp_config_file_copy_ptr_contents() and gftp_config_file_copy_color()
were added
* lib/protocols.c - make sure the remote_charsets string is restored
properly after it is used
* src/gtk/bookmarks.c - remove memory leak comments, these are fixed
now
* src/gtk/transfer.c - removed start_file_transfers variable
* src/gtk/misc-gtk.c src/gtk/gftp-gtk.h lib/misc.c lib/gftp.h - moved
get_next_selection() to lib
* acinclude.h (AC_TYPE_SOCKLEN_T) - AC_DEFINE fix (from
Nathan Robertson <nathanr@nathanr.net>)
author | masneyb |
---|---|
date | Wed, 02 Jul 2003 01:44:57 +0000 |
parents | 7d7d8299610d |
children | 82ebd1b05345 |
comparison
equal
deleted
inserted
replaced
206:5ef3a4c3b19a | 207:cf4098008615 |
---|---|
292 | 292 |
293 typedef struct gftp_option_type_tag | 293 typedef struct gftp_option_type_tag |
294 { | 294 { |
295 int (*read_function) (char *str, gftp_config_vars * cv, int line); | 295 int (*read_function) (char *str, gftp_config_vars * cv, int line); |
296 int (*write_function) (gftp_config_vars * cv, FILE * fd, int to_config_file); | 296 int (*write_function) (gftp_config_vars * cv, FILE * fd, int to_config_file); |
297 void (*copy_function) (gftp_config_vars * cv, gftp_config_vars * dest_cv); | |
297 void * (*ui_print_function) (gftp_config_vars * cv, void *user_data); | 298 void * (*ui_print_function) (gftp_config_vars * cv, void *user_data); |
298 void (*ui_save_function) (gftp_config_vars * cv, void *user_data); | 299 void (*ui_save_function) (gftp_config_vars * cv, void *user_data); |
299 void (*ui_cancel_function) (gftp_config_vars * cv, void *user_data); | 300 void (*ui_cancel_function) (gftp_config_vars * cv, void *user_data); |
300 void *user_data; | 301 void *user_data; |
301 } gftp_option_type_var; | 302 } gftp_option_type_var; |
711 | 712 |
712 void gftp_free_bookmark ( gftp_bookmarks_var * entry ); | 713 void gftp_free_bookmark ( gftp_bookmarks_var * entry ); |
713 | 714 |
714 void gftp_shutdown ( void ); | 715 void gftp_shutdown ( void ); |
715 | 716 |
717 GList * get_next_selection ( GList * selection, | |
718 GList ** list, | |
719 int *curnum ); | |
720 | |
716 /* protocols.c */ | 721 /* protocols.c */ |
717 #define GFTP_FTP_NUM 0 | 722 #define GFTP_FTP_NUM 0 |
718 #define GFTP_HTTP_NUM 1 | 723 #define GFTP_HTTP_NUM 1 |
719 #define GFTP_HTTPS_NUM 2 | 724 #define GFTP_HTTPS_NUM 2 |
720 #define GFTP_LOCAL_NUM 3 | 725 #define GFTP_LOCAL_NUM 3 |