comparison src/gtk/dnd.c @ 58:c01d91c10f6c

2002-11-20 Brian Masney <masneyb@gftp.org> * lib/protocols.c lib/gftp.h - added gftp_get_line(), gftp_read(), gftp_write(), gftp_writefmt(), and gftp_set_sockblocking() functions. Added struct_gftp_getline_buffer for gftp_get_line function() * lib/cache.c lib/gftp.h lib/local.c lib/misc.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/ssh.c lib/sshv2.c - *_get_file() returns off_t instead of long. *_{get,put}_next_file_chunk returns ssize_t instead of size_t. Added *_set_config_options function to gftp_request structure and protocol files. Use the new network functions documented above. Convert usage of ANSI C IO (FILE *) to standard BSD sockets so that I can use timeouts properly with select * lib/misc.c (ssh_start_login_sequence) - use gftp_set_sockblock(), gftp_read() and gftp_write() functions * lib/protocols.c - move some protocol specific code to the protocol specific files * lib/local.c - log succesful messages to gftp_logging_misc instead of gftp_logging_error * lib/cache.c - log some more error conditions to the user * lib/rfc959.c - added rfc959_getcwd(). In, rfc959_accept_active_connection(), set set socket to blocking mode before calling accept() * src/text/gftk-text.c - If we get no files in gftp_text_ls(), return instead of segfaulting * src/gtk/gftp-gtk.c - expand the port field in the toolbar to be 45 pixels wide * src/text/gftp-text.c src/gtk/misc-gtk.c src/gtk/transfer.c src/gtk/view_dialog.c - changes for conversion of request->{sock,data} from ANSI C IO (FILE *) to standard BSD sockets
author masneyb
date Thu, 21 Nov 2002 00:33:51 +0000
parents a12bcbc2fce4
children 4b5fec7711e9
comparison
equal deleted inserted replaced
57:72f6ca02c83a 58:c01d91c10f6c
90 templist->next = NULL; 90 templist->next = NULL;
91 add_file_transfer (current_ftpdata, wdata->request, fromwdata, 91 add_file_transfer (current_ftpdata, wdata->request, fromwdata,
92 wdata, templist, 1); 92 wdata, templist, 1);
93 gftp_request_destroy (current_ftpdata); 93 gftp_request_destroy (current_ftpdata);
94 94
95 if (newfle->isdir) 95 /* FIXME resume files and download entire directories */
96 { 96
97 /* FIXME - need to fix this
98 add_entire_directory (tdata, newfle,
99 GFTP_GET_DIRECTORY (tdata->fromhdata->ftpdata),
100 GFTP_GET_DIRECTORY (tdata->tohdata->ftpdata),
101 tdata->fromhdata->ftpdata);
102 */
103 }
104 return (1); 97 return (1);
105 } 98 }
106 99
107 100
108 void 101 void