Mercurial > gftp.yaz
diff lib/gftp.h @ 41:4bcfaf6307b5
2002-10-29 Brian Masney <masneyb@gftp.org>
* lib/config_file.c lib/gftp.h lib/options.h src/gtk/menu-items.c
src/gtk/view_dialog.c - removed tmp_directory variable. Instead use
g_get_tmp_dir ()
* lib/gftp.h (struct gftp_request) - added int cancel : 1
* lib/misc.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/ssh.c
lib/sshv2.c - check for interrupted signal calls
* lib/protocols.c - added gftp_fgets() and gftp_fwrite() functions
* src/gtk/delete_dialog.c src/gtk/misc-gtk.c src/gtk/transfer.c - use
g_main_context_iteration in GTK+ 2.0 port
* src/gtk/misc-gtk.c - use g_object_unref instead of gdk_drawable_unref
in GTK+ 2.0 port
author | masneyb |
---|---|
date | Wed, 30 Oct 2002 02:53:21 +0000 |
parents | 66c064fd05bc |
children | eec25f215772 |
line wrap: on
line diff
--- a/lib/gftp.h Fri Oct 18 02:53:52 2002 +0000 +++ b/lib/gftp.h Wed Oct 30 02:53:21 2002 +0000 @@ -211,6 +211,8 @@ use_threads : 1, /* Whether we need to spawn a thread for this protocol */ cached : 1, /* Is this directory listing cached? */ + cancel : 1, /* If a signal is received, should + we cancel this operation */ stopable : 1; off_t gotbytes; @@ -441,7 +443,7 @@ extern char version[], *emailaddr, *edit_program, *view_program, *firewall_host, *firewall_username, *firewall_password, *firewall_account, *proxy_config, *http_proxy_host, - *http_proxy_username, *http_proxy_password, *tmp_directory, + *http_proxy_username, *http_proxy_password, *startup_directory, *ssh_prog_name, *ssh_extra_params, **ssh_extra_params_list, *default_protocol, *ssh1_sftp_path, *ssh2_sftp_path; @@ -793,5 +795,15 @@ void print_file_list ( GList * list ); +char *gftp_fgets ( gftp_request * request, + char * str, + size_t len, + FILE * fd ); + +size_t gftp_fwrite ( gftp_request * request, + const void *ptr, + size_t size, + FILE * fd ); + #endif