diff lib/gftp.h @ 126:1e65871fdfa1

2003-4-9 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/config_file.c - reordered config option types. Added gftp_option_type_textcomboedt type * lib/options.h lib/rfc959.c - moved gftp_proxy_type to rfc959.c * lib/rfc959.c - added proxy_type that is gftp_option_type_textcomboedt. Consolidated help text into comment. In parse_ftp_proxy_string(), improve parsing of proxy config
author masneyb
date Thu, 10 Apr 2003 02:29:44 +0000
parents b875de05c22d
children fe0b21c006f6
line wrap: on
line diff
--- a/lib/gftp.h	Tue Apr 08 22:28:17 2003 +0000
+++ b/lib/gftp.h	Thu Apr 10 02:29:44 2003 +0000
@@ -426,18 +426,18 @@
 typedef enum 
 {
   gftp_option_type_text		= 0,
-  gftp_option_type_int		= 1,
-  gftp_option_type_float	= 2,
-  gftp_option_type_checkbox	= 3,
-  gftp_option_type_color	= 4,
-  gftp_option_type_notebook	= 5,
-  gftp_option_type_newtable	= 6,
-  gftp_option_type_hidetext	= 7,
-  gftp_option_type_label	= 8,
-  gftp_option_type_textbox	= 9,
-  gftp_option_type_subtree	= 10,
-  gftp_option_type_intcombo	= 11,
-  gftp_option_type_textcombo	= 12,
+  gftp_option_type_textcombo	= 1,
+  gftp_option_type_textcomboedt = 2,
+  gftp_option_type_hidetext	= 3,
+  gftp_option_type_int		= 4,
+  gftp_option_type_checkbox	= 5,
+  gftp_option_type_intcombo	= 6,
+  gftp_option_type_float	= 7,
+  gftp_option_type_color	= 8,
+  gftp_option_type_notebook	= 9,
+  gftp_option_type_newtable	= 10,
+  gftp_option_type_label	= 11,
+  gftp_option_type_subtree	= 12,
   gftp_option_type_table	= 13
 } gftp_option_type_enum;
 
@@ -487,13 +487,12 @@
 } gftp_option_type_var;
 
 
-typedef struct gftp_proxy_type_var_tag
+typedef struct gftp_textcomboedt_data_tag
 {
   char *key,
        *description;
-} gftp_proxy_type_var;
+} gftp_textcomboedt_data;
 
-#define GFTP_CUSTOM_PROXY_NUM        8
 
 typedef struct gftp_getline_buffer_tag
 {
@@ -503,6 +502,7 @@
          cur_bufsize;
 } gftp_getline_buffer;
 
+
 /* Global config options. These are defined in options.h */
 extern GList * gftp_file_transfers, * gftp_file_transfer_logs,
              * gftp_options_list;
@@ -510,7 +510,6 @@
                   * gftp_config_list_htable;
 extern gftp_config_vars gftp_global_config_vars[];
 extern supported_gftp_protocols gftp_protocols[];
-extern gftp_proxy_type_var gftp_proxy_type[];
 extern gftp_bookmarks_var * gftp_bookmarks;
 extern char gftp_version[];
 extern FILE * gftp_logfd;