Ticket #2779: Active VFS directories list contain incorrect current path
[midnight-commander.git] / src / vfs / ftpfs / ftpfs.h
blobf76253ea562b3dd74854fe2b3846c4e56da24e89
1 /**
2 * \file
3 * \brief Header: Virtual File System: FTP file system
4 */
6 #ifndef MC__VFS_FTPFS_H
7 #define MC__VFS_FTPFS_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define FTP_INET 1
12 #define FTP_INET6 2
14 #define OPT_FLUSH 1
15 #define OPT_IGNORE_ERROR 2
17 /*** enums ***************************************************************************************/
19 /*** structures declarations (and typedefs of structures)*****************************************/
21 /*** global variables defined in .c file *********************************************************/
23 extern int ftpfs_use_netrc;
24 extern char *ftpfs_anonymous_passwd;
25 extern char *ftpfs_proxy_host;
26 extern int ftpfs_directory_timeout;
27 extern int ftpfs_always_use_proxy;
28 extern int ftpfs_ignore_chattr_errors;
30 extern int ftpfs_retry_seconds;
31 extern int ftpfs_use_passive_connections;
32 extern int ftpfs_use_passive_connections_over_proxy;
33 extern int ftpfs_use_unix_list_options;
34 extern int ftpfs_first_cd_then_ls;
36 /*** declarations of public functions ************************************************************/
38 void ftpfs_init_passwd (void);
39 void init_ftpfs (void);
41 /*** inline functions ****************************************************************************/
42 #endif