1
2
3
4
5
6 #ifndef MC__VFS_FTPFS_H
7 #define MC__VFS_FTPFS_H
8
9 #include "lib/vfs/xdirentry.h"
10
11
12
13 #define FTP_INET 1
14 #define FTP_INET6 2
15
16 #define OPT_FLUSH 1
17 #define OPT_IGNORE_ERROR 2
18
19
20
21
22
23
24
25 extern gboolean ftpfs_use_netrc;
26 extern char *ftpfs_anonymous_passwd;
27 extern char *ftpfs_proxy_host;
28 extern int ftpfs_directory_timeout;
29 extern gboolean ftpfs_always_use_proxy;
30 extern gboolean ftpfs_ignore_chattr_errors;
31
32 extern int ftpfs_retry_seconds;
33 extern gboolean ftpfs_use_passive_connections;
34 extern gboolean ftpfs_use_passive_connections_over_proxy;
35 extern gboolean ftpfs_use_unix_list_options;
36 extern gboolean ftpfs_first_cd_then_ls;
37
38
39
40 void ftpfs_init_passwd (void);
41 void vfs_init_ftpfs (void);
42 GSList *ftpfs_parse_long_list (struct vfs_class *me, struct vfs_s_inode *dir, GSList * buf,
43 int *err_ret);
44
45
46 #endif