mc/lib/vfs/mc-vfs/ftpfs.h
Enrico Weigelt, metux IT service 05516fbac8 VFS: ftpfs can now be switched off
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-07-21 16:43:50 +04:00

33 lines
690 B
C

/**
* \file
* \brief Header: Virtual File System: FTP file system
*/
#ifndef MC_VFS_FTPFS_H
#define MC_VFS_FTPFS_H
extern int ftpfs_use_netrc;
extern char *ftpfs_anonymous_passwd;
extern char *ftpfs_proxy_host;
extern int ftpfs_directory_timeout;
extern int ftpfs_always_use_proxy;
extern int ftpfs_ignore_chattr_errors;
extern int ftpfs_retry_seconds;
extern int ftpfs_use_passive_connections;
extern int ftpfs_use_passive_connections_over_proxy;
extern int ftpfs_use_unix_list_options;
extern int ftpfs_first_cd_then_ls;
void ftpfs_init_passwd (void);
void init_ftpfs (void);
#define FTP_INET 1
#define FTP_INET6 2
#define OPT_FLUSH 1
#define OPT_IGNORE_ERROR 2
#endif