3 * \brief Header: Virtual File System: FTP file system
6 #ifndef MC__VFS_FTPFS_H
7 #define MC__VFS_FTPFS_H
9 #include "lib/vfs/xdirentry.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
17 #define OPT_IGNORE_ERROR 2
19 /*** enums ***************************************************************************************/
21 /*** structures declarations (and typedefs of structures)*****************************************/
23 /*** global variables defined in .c file *********************************************************/
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
;
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
;
38 /*** declarations of public functions ************************************************************/
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
,
45 /*** inline functions ****************************************************************************/