diff src/text/textui.c @ 367:d5409bf03ff1

2003-1-18 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_parse_url) - if the URL is the local filesystem, skip over the whitespace at the beginning. * lib/rfc959.c (rfc959_syst) - allow the string MVS and OS/MVS for the MVS directory listings. * src/gtk/gtkui_transfer.c src/gtk/transfer.c src/gtk/gftpui.c - started to move the transfer functionality into the uicommon directory. Added the text and GTK+ UI specific transfer functions. * src/gtk/Makefile.am po/POTFILES.in - added gtkui_transfer.c * src/gtk/dnd.c src/gtk/gtkui_transfer.c src/gtk/view_dialog.c - s/add_file_transfer/gtkui_common_add_file_transfer/ * src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h - removed transfer_mutex * src/gtk/gtkui.c src/text/textui.c - added gftpui_add_file_to_transfer() * src/uicommon/gftpui_callbacks.c src/uicommon/gftpui.c - in all of the thread callback functions, don't alter the return value in the function. Return it as is.
author masneyb
date Sun, 18 Jan 2004 20:09:28 +0000
parents 7cb3327f96f7
children 14da115b149b
line wrap: on
line diff
--- a/src/text/textui.c	Sun Jan 18 19:56:01 2004 +0000
+++ b/src/text/textui.c	Sun Jan 18 20:09:28 2004 +0000
@@ -47,7 +47,7 @@
 void *
 gftpui_generic_thread (void * (*func) (void *), void *data)
 {
-  return (NULL);
+  return (func (data));
 }
 
 
@@ -80,3 +80,18 @@
   return (ret);
 }
 
+
+void
+gftpui_add_file_to_transfer (gftp_transfer * tdata, GList * curfle,
+                                  char *filepos )
+{
+  /* FIXME */
+}
+
+
+void
+gftpui_ask_transfer (gftp_transfer * tdata)
+{
+  /* FIXME */
+}
+