ftpfs.h 623 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * \file
  3. * \brief Header: Virtual File System: FTP file system
  4. */
  5. #ifndef MC_VFS_FTPFS_H
  6. #define MC_VFS_FTPFS_H
  7. extern char *ftpfs_anonymous_passwd;
  8. extern char *ftpfs_proxy_host;
  9. extern int ftpfs_directory_timeout;
  10. extern int ftpfs_always_use_proxy;
  11. extern int ftpfs_retry_seconds;
  12. extern int ftpfs_use_passive_connections;
  13. extern int ftpfs_use_passive_connections_over_proxy;
  14. extern int ftpfs_use_unix_list_options;
  15. extern int ftpfs_first_cd_then_ls;
  16. void ftpfs_init_passwd (void);
  17. void init_ftpfs (void);
  18. #define FTP_INET 1
  19. #define FTP_INET6 2
  20. #define OPT_FLUSH 1
  21. #define OPT_IGNORE_ERROR 2
  22. #endif