annotate lib/options.h @ 834:a79d3013c656

Updated Finnish translation
author ituohela
date Sun, 22 Oct 2006 05:21:11 +0000
parents 72400fdbd0ed
children 9f10d3c835cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 /*****************************************************************************/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2 /* options.h - the global variables for the program */
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
3 /* Copyright (C) 1998-2003 Brian Masney <masneyb@gftp.org> */
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
4 /* */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
5 /* This program is free software; you can redistribute it and/or modify */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
6 /* it under the terms of the GNU General Public License as published by */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
7 /* the Free Software Foundation; either version 2 of the License, or */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
8 /* (at your option) any later version. */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
9 /* */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10 /* This program is distributed in the hope that it will be useful, */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
11 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13 /* GNU General Public License for more details. */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
14 /* */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
15 /* You should have received a copy of the GNU General Public License */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
16 /* along with this program; if not, write to the Free Software */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
17 /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA */
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
18 /*****************************************************************************/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
19
33
c8ec7877432e 2002-10-06 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
20 /* $Id$ */
c8ec7877432e 2002-10-06 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
21
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
22 #include "gftp.h"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
23
765
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
24 typedef /*@null@*/ char *gftp_sort_columns_tag;
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
25 static gftp_sort_columns_tag gftp_sort_columns[] = { N_("none"), N_("file"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
26 N_("size"), N_("user"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
27 N_("group"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
28 N_("datetime"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
29 N_("attribs"), NULL };
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
30
765
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
31 typedef /*@null@*/ char *gftp_sort_direction_tag;
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
32 static gftp_sort_direction_tag gftp_sort_direction[] = { N_("descending"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
33 N_("ascending"),
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
34 NULL };
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
35
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
36 static float gftp_maxkbs = 0.0;
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
37
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
38 gftp_config_vars gftp_global_config_vars[] =
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
39 {
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
40 {"", N_("General"), gftp_option_type_notebook, NULL, NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
41 GFTP_CVARS_FLAGS_SHOW_BOOKMARK, NULL, GFTP_PORT_GTK, NULL},
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
42
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
43 {"view_program", N_("View program:"), gftp_option_type_text, "", NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
44 N_("The default program used to view files. If this is blank, the internal file viewer will be used"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
45 GFTP_PORT_GTK, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
46 {"edit_program", N_("Edit program:"), gftp_option_type_text, "", NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
47 N_("The default program used to edit files."), GFTP_PORT_GTK, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
48 {"max_log_window_size", N_("Max Log Window Size:"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
49 gftp_option_type_int, 0, NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
50 N_("The maximum size of the log window in bytes for the GTK+ port"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
51 GFTP_PORT_GTK, NULL},
184
65eb40fb4f03 2003-6-16 Brian Masney <masneyb@gftp.org>
masneyb
parents: 182
diff changeset
52 {"remote_charsets", N_("Remote Character Sets:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
53 gftp_option_type_text, "", NULL, GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
185
cc94bd62d290 2003-6-16 Brian Masney <masneyb@gftp.org>
masneyb
parents: 184
diff changeset
54 N_("This is a comma separated list of charsets to try to convert the remote messages to the current locale"),
184
65eb40fb4f03 2003-6-16 Brian Masney <masneyb@gftp.org>
masneyb
parents: 182
diff changeset
55 GFTP_PORT_ALL, NULL},
473
45fb9dc47a2e 2004-5-26 Brian Masney <masneyb@gftp.org>
masneyb
parents: 433
diff changeset
56 {"remote_lc_time", N_("Remote LC_TIME:"),
45fb9dc47a2e 2004-5-26 Brian Masney <masneyb@gftp.org>
masneyb
parents: 433
diff changeset
57 gftp_option_type_text, "", NULL, GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
45fb9dc47a2e 2004-5-26 Brian Masney <masneyb@gftp.org>
masneyb
parents: 433
diff changeset
58 N_("This is the value of LC_TIME for the remote site. This is so that dates can be parsed properly in the directory listings."),
45fb9dc47a2e 2004-5-26 Brian Masney <masneyb@gftp.org>
masneyb
parents: 433
diff changeset
59 GFTP_PORT_ALL, NULL},
222
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 201
diff changeset
60 {"cache_ttl", N_("Cache TTL:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
61 gftp_option_type_int, GINT_TO_POINTER(3600), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
62 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
222
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 201
diff changeset
63 N_("The number of seconds to keep cache entries before they expire."),
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 201
diff changeset
64 GFTP_PORT_ALL, NULL},
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
65
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
66 {"append_transfers", N_("Append file transfers"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
67 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
68 N_("Append new file transfers onto existing ones"), GFTP_PORT_GTK, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
69 {"one_transfer", N_("Do one transfer at a time"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
70 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
71 N_("Do only one transfer at a time?"), GFTP_PORT_GTK, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
72 {"overwrite_default", N_("Overwrite by Default"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
73 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
74 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
75 N_("Overwrite files by default or set to resume file transfers"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
76 GFTP_PORT_GTK, NULL},
182
33b394ebba68 2003-6-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 169
diff changeset
77 {"preserve_permissions", N_("Preserve file permissions"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
78 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
79 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
182
33b394ebba68 2003-6-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 169
diff changeset
80 N_("Preserve file permissions of transfered files"), GFTP_PORT_ALL,
33b394ebba68 2003-6-15 Brian Masney <masneyb@gftp.org>
masneyb
parents: 169
diff changeset
81 NULL},
560
1ce11a3d9557 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 542
diff changeset
82 {"preserve_time", N_("Preserve file time"),
1ce11a3d9557 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 542
diff changeset
83 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
1ce11a3d9557 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 542
diff changeset
84 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
1ce11a3d9557 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 542
diff changeset
85 N_("Preserve file times of transfered files"), GFTP_PORT_ALL,
1ce11a3d9557 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 542
diff changeset
86 NULL},
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
87 {"refresh_files", N_("Refresh after each file transfer"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
88 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
89 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
90 N_("Refresh the listbox after each file is transfered"), GFTP_PORT_GTK,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
91 NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
92 {"sort_dirs_first", N_("Sort directories first"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
93 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
94 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
95 N_("Put the directories first then the files"), GFTP_PORT_ALL, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
96 {"show_hidden_files", N_("Show hidden files"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
97 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
98 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
99 N_("Show hidden files in the listboxes"), GFTP_PORT_ALL, NULL},
320
853981bbd4d7 2003-11-30 Brian Masney <masneyb@gftp.org>
masneyb
parents: 313
diff changeset
100 {"show_trans_in_title", N_("Show transfer status in title"),
430
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 389
diff changeset
101 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
320
853981bbd4d7 2003-11-30 Brian Masney <masneyb@gftp.org>
masneyb
parents: 313
diff changeset
102 N_("Show the file transfer status in the titlebar"), GFTP_PORT_GTK, NULL},
433
77fffba5e170 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
103 {"start_transfers", N_("Start file transfers"),
77fffba5e170 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
104 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL, 0,
77fffba5e170 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
105 N_("Automatically start the file transfers when they get queued"),
77fffba5e170 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
106 GFTP_PORT_GTK, NULL},
341
eedc2c5727fa 2003-12-28 Brian Masney <masneyb@gftp.org>
masneyb
parents: 332
diff changeset
107 {"cmd_in_gui", N_("Allow manual commands in GUI"),
eedc2c5727fa 2003-12-28 Brian Masney <masneyb@gftp.org>
masneyb
parents: 332
diff changeset
108 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
808
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
109 N_("Allow entering manual commands in the GUI (functions like the text port)"),
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
110 GFTP_PORT_GTK, NULL},
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
111 {"remember_last_directory", N_("Remember last directory"),
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
112 gftp_option_type_checkbox, GINT_TO_POINTER(0), NULL, 0,
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
113 N_("Save the last local and remote directory when the application is closed"),
72400fdbd0ed 2006-8-10 Brian Masney <masneyb@gftp.org>
masneyb
parents: 792
diff changeset
114 GFTP_PORT_GTK, NULL},
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
115
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
116 {"", N_("Network"), gftp_option_type_notebook, NULL, NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
117 GFTP_CVARS_FLAGS_SHOW_BOOKMARK, NULL, GFTP_PORT_GTK, NULL},
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
118 {"network_timeout", N_("Network timeout:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
119 gftp_option_type_int, GINT_TO_POINTER(60), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
120 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
121 N_("The timeout waiting for network input/output. This is NOT an idle timeout."),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
122 GFTP_PORT_ALL, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
123 {"retries", N_("Connect retries:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
124 gftp_option_type_int, GINT_TO_POINTER(3), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
125 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
561
b4667e14fd0c 2004-9-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 560
diff changeset
126 N_("The number of auto-retries to do. Set this to 0 to retry indefinitely"),
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
127 GFTP_PORT_ALL, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
128 {"sleep_time", N_("Retry sleep time:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
129 gftp_option_type_int, GINT_TO_POINTER(30), NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
130 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
131 N_("The number of seconds to wait between retries"), GFTP_PORT_ALL, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
132 {"maxkbs", N_("Max KB/S:"),
227
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
133 gftp_option_type_float, &gftp_maxkbs, NULL,
a85a097bbb02 2003-7-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 222
diff changeset
134 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
135 N_("The maximum KB/s a file transfer can get. (Set to 0 to disable)"),
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
136 GFTP_PORT_ALL, NULL},
527
d0e8f8ee3b20 2004-8-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 526
diff changeset
137 {"trans_blksize", N_("Transfer Block Size:"),
d0e8f8ee3b20 2004-8-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 526
diff changeset
138 gftp_option_type_int, GINT_TO_POINTER(20480), NULL,
d0e8f8ee3b20 2004-8-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 526
diff changeset
139 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
d0e8f8ee3b20 2004-8-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 526
diff changeset
140 N_("The block size that is used when transfering files. This should be a multiple of 1024."),
d0e8f8ee3b20 2004-8-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 526
diff changeset
141 GFTP_PORT_ALL, NULL},
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
142
136
84b3e69807a2 2003-4-18 Brian Masney <masneyb@gftp.org>
masneyb
parents: 126
diff changeset
143 {"default_protocol", N_("Default Protocol:"),
125
b875de05c22d 2003-4-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 122
diff changeset
144 gftp_option_type_textcombo, "FTP", NULL, 0,
b875de05c22d 2003-4-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 122
diff changeset
145 N_("This specifies the default protocol to use"), GFTP_PORT_ALL, NULL},
313
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
146 #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR)
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
147 {"enable_ipv6", N_("Enable IPv6 support"),
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
148 gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL,
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
149 GFTP_CVARS_FLAGS_SHOW_BOOKMARK,
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
150 N_("Enable IPv6 support"), GFTP_PORT_ALL, NULL},
32a6b26b7026 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 227
diff changeset
151 #endif
125
b875de05c22d 2003-4-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 122
diff changeset
152
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
153 {"list_dblclk_action", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
154 gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
155 N_("This defines what will happen when you double click a file in the file listboxes. 0=View file 1=Edit file 2=Transfer file"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
156 {"listbox_local_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
157 gftp_option_type_int, GINT_TO_POINTER(302), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
158 N_("The default width of the local files listbox"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
159 {"listbox_remote_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
160 gftp_option_type_int, GINT_TO_POINTER(302), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
161 N_("The default width of the remote files listbox"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
162 {"listbox_file_height", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
163 gftp_option_type_int, GINT_TO_POINTER(265), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
164 N_("The default height of the local/remote files listboxes"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
165 {"transfer_height", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
166 gftp_option_type_int, GINT_TO_POINTER(80), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
167 N_("The default height of the transfer listbox"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
168 {"log_height", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
169 gftp_option_type_int, GINT_TO_POINTER(105), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
170 N_("The default height of the logging window"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
171 {"file_trans_column", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
172 gftp_option_type_int, GINT_TO_POINTER(100), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
173 N_("The width of the filename column in the transfer window. Set this to 0 to have this column automagically resize."), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
174
616
461ae1bba8b6 2004-11-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 561
diff changeset
175 {"host_value", "", gftp_option_type_text, "", NULL, 0, NULL, 0, NULL},
461ae1bba8b6 2004-11-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 561
diff changeset
176 {"port_value", "", gftp_option_type_text, "", NULL, 0, NULL, 0, NULL},
461ae1bba8b6 2004-11-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 561
diff changeset
177 {"user_value", "", gftp_option_type_text, "", NULL, 0, NULL, 0, NULL},
461ae1bba8b6 2004-11-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 561
diff changeset
178
792
37bc51131e2d 2006-7-29 Brian Masney <masneyb@gftp.org>
masneyb
parents: 765
diff changeset
179 {"local_startup_directory", "", gftp_option_type_text, "", NULL, 0, NULL,
37bc51131e2d 2006-7-29 Brian Masney <masneyb@gftp.org>
masneyb
parents: 765
diff changeset
180 0, NULL},
37bc51131e2d 2006-7-29 Brian Masney <masneyb@gftp.org>
masneyb
parents: 765
diff changeset
181 {"remote_startup_directory", "", gftp_option_type_text, "", NULL, 0, NULL,
37bc51131e2d 2006-7-29 Brian Masney <masneyb@gftp.org>
masneyb
parents: 765
diff changeset
182 0, NULL},
37bc51131e2d 2006-7-29 Brian Masney <masneyb@gftp.org>
masneyb
parents: 765
diff changeset
183
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
184 {"local_sortcol", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
185 gftp_option_type_intcombo, GINT_TO_POINTER(1), gftp_sort_columns, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
186 N_("The default column to sort by"), GFTP_PORT_TEXT, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
187 {"local_sortasds", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
188 gftp_option_type_intcombo, GINT_TO_POINTER(1), gftp_sort_direction, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
189 N_("Sort ascending or descending"), GFTP_PORT_TEXT, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
190 {"remote_sortcol", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
191 gftp_option_type_intcombo, GINT_TO_POINTER(1), gftp_sort_columns, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
192 N_("The default column to sort by"), GFTP_PORT_TEXT, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
193 {"remote_sortasds", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
194 gftp_option_type_intcombo, GINT_TO_POINTER(1), gftp_sort_direction, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
195 N_("Sort ascending or descending"), GFTP_PORT_TEXT, NULL},
37
5a178bd04ca5 2002-10-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 33
diff changeset
196
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
197 {"local_file_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
198 gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
199 N_("The width of the filename column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
200 {"local_size_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
201 gftp_option_type_int, GINT_TO_POINTER(85), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
202 N_("The width of the size column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
203 {"local_user_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
204 gftp_option_type_int, GINT_TO_POINTER(75), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
205 N_("The width of the user column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
206 {"local_group_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
207 gftp_option_type_int, GINT_TO_POINTER(76), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
208 N_("The width of the group column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
209 {"local_date_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
210 gftp_option_type_int, GINT_TO_POINTER(120), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
211 N_("The width of the date column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
212 {"local_attribs_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
213 gftp_option_type_int, GINT_TO_POINTER(75), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
214 N_("The width of the attribs column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
215 {"remote_file_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
216 gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
217 N_("The width of the filename column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
218 {"remote_size_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
219 gftp_option_type_int, GINT_TO_POINTER(85), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
220 N_("The width of the size column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
221 {"remote_user_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
222 gftp_option_type_int, GINT_TO_POINTER(75), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
223 N_("The width of the user column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
224 {"remote_group_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
225 gftp_option_type_int, GINT_TO_POINTER(76), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
226 N_("The width of the group column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
227 {"remote_date_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
228 gftp_option_type_int, GINT_TO_POINTER(120), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
229 N_("The width of the date column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
230 {"remote_attribs_width", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
231 gftp_option_type_int, GINT_TO_POINTER(75), NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
232 N_("The width of the attribs column in the file listboxes. Set this to 0 to have this column automagically resize. Set this to -1 to disable this column"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
233 {"send_color", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
234 gftp_option_type_color, "0:8600:0", NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
235 N_("The color of the commands that are sent to the server"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
236 {"recv_color", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
237 gftp_option_type_color, "0:0:ffff", NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
238 N_("The color of the commands that are received from the server"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
239 {"error_color", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
240 gftp_option_type_color, "ffff:0:0", NULL, 0,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
241 N_("The color of the error messages"), 0, NULL},
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
242 {"misc_color", "",
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
243 gftp_option_type_color, "a000:8d00:4600", NULL, 0,
162
12a043d992a1 2003-5-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 136
diff changeset
244 N_("The color of the rest of the log messages"), 0, NULL},
12a043d992a1 2003-5-22 Brian Masney <masneyb@gftp.org>
masneyb
parents: 136
diff changeset
245 {NULL, NULL, 0, NULL, NULL, 0, NULL, 0, NULL}
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
246 };
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
247
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
248 supported_gftp_protocols gftp_protocols[] =
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
249 {
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
250 {N_("FTP"), rfc959_init, rfc959_register_module, "ftp", 21, 1, 1},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
251
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
252 #ifdef USE_SSL
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
253 {N_("FTPS"), ftps_init, ftps_register_module, "ftps", 21, 1, 1},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
254 #else
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
255 {N_("FTPS"), ftps_init, ftps_register_module, "ftps", 21, 0, 1},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
256 #endif
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
257
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
258 {N_("HTTP"), rfc2068_init, rfc2068_register_module, "http", 80, 1, 1},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
259
169
d40f9db52cdf 2003-6-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 168
diff changeset
260 #ifdef USE_SSL
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
261 {N_("HTTPS"), https_init, https_register_module, "https", 443, 1, 1},
169
d40f9db52cdf 2003-6-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 168
diff changeset
262 #else
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
263 {N_("HTTPS"), https_init, https_register_module, "https", 443, 0, 1},
169
d40f9db52cdf 2003-6-8 Brian Masney <masneyb@gftp.org>
masneyb
parents: 168
diff changeset
264 #endif
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
265
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
266 {N_("Local"), local_init, local_register_module, "file", 0, 1, 0},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
267
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
268 {N_("SSH2"), sshv2_init, sshv2_register_module, "ssh2", 22, 1, 1},
389
b39a312323ec 2003-2-3 Brian Masney <masneyb@gftp.org>
masneyb
parents: 341
diff changeset
269
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
270 {N_("Bookmark"), bookmark_init, bookmark_register_module, "bookmark", 0, 0, 0},
661
2e718fba351e 2005-1-16 Brian Masney <masneyb@gftp.org>
masneyb
parents: 616
diff changeset
271 {N_("FSP"), fsp_init, fsp_register_module, "fsp", 21, 1, 1},
542
fd9ce7797984 2004-8-21 Brian Masney <masneyb@gftp.org>
masneyb
parents: 527
diff changeset
272 {NULL, NULL, NULL, NULL, 0, 0, 0}
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
273 };
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
274
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
275 GHashTable * gftp_global_options_htable = NULL,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
276 * gftp_config_list_htable = NULL,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
277 * gftp_bookmarks_htable = NULL;
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
278
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
279 char gftp_version[] = "gFTP " VERSION;
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
280
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
281 GList * gftp_file_transfers = NULL,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
282 * gftp_file_transfer_logs = NULL,
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
283 * gftp_options_list = NULL;
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
284
122
76e2b58a9440 2003-4-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 101
diff changeset
285 gftp_bookmarks_var * gftp_bookmarks = NULL;
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
286
765
d553d14a2565 2006-7-13 Brian Masney <masneyb@gftp.org>
masneyb
parents: 661
diff changeset
287 /*@null@*/ FILE * gftp_logfd = NULL;
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
288
201
0098dae654a5 2003-6-25 Brian Masney <masneyb@gftp.org>
masneyb
parents: 185
diff changeset
289 int gftp_configuration_changed = 0;
0098dae654a5 2003-6-25 Brian Masney <masneyb@gftp.org>
masneyb
parents: 185
diff changeset
290