diff lib/gftp.h @ 199:75eebb3b0592

2003-6-24 Brian Masney <masneyb@gftp.org> * lib/config_file.c lib/gftp.h lib/protocols.c - added backend for overriding options on a per bookmark basis. Also added gftp_copy_local_options() to config_file.c * lib/gftp.h lib/misc.c src/gtk/bookmarks.c - added gftp_free_bookmark() to misc.c. It was taken from the function free_bookmark_entry_items() in bookmarks.c * lib/sslcommon.c - formatting fixes. Added thread functions (mostly from the OReilly SSL book)
author masneyb
date Wed, 25 Jun 2003 01:53:45 +0000
parents 8fea1b1a2ec6
children 0098dae654a5
line wrap: on
line diff
--- a/lib/gftp.h	Mon Jun 23 01:07:05 2003 +0000
+++ b/lib/gftp.h	Wed Jun 25 01:53:45 2003 +0000
@@ -516,8 +516,9 @@
                      *next; 	/* The next sibling of this node */
   gpointer cnode; 
 
-  /* Site options */
-  char *sftpserv_path;		/* Path to the sftp server */
+  gftp_config_vars * local_options_vars;
+  int num_local_options_vars;
+  GHashTable * local_options_hash;
 };
 
 
@@ -661,9 +662,6 @@
 
 void free_tdata 			( gftp_transfer * tdata );
 
-void gftp_copy_local_options 		( gftp_request * dest, 
-					  gftp_request * source );
-
 gftp_request * copy_request 		( gftp_request * req,
 					  int copy_local_options );
 
@@ -679,6 +677,13 @@
 
 char * base64_encode 			( char *str );
 
+void gftp_free_bookmark 		( gftp_bookmarks_var * entry );
+
+void gftp_copy_local_options 		( gftp_config_vars ** new_options_vars, 
+					  GHashTable ** new_options_hash,
+					  gftp_config_vars * orig_options,
+					  int num_local_options_vars );
+
 /* protocols.c */
 #define GFTP_FTP_NUM				0
 #define GFTP_HTTP_NUM				1