ftpfs.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. /*** typedefs(not structures) and defined constants **********************************************/
  8. #define FTP_INET 1
  9. #define FTP_INET6 2
  10. #define OPT_FLUSH 1
  11. #define OPT_IGNORE_ERROR 2
  12. /*** enums ***************************************************************************************/
  13. /*** structures declarations (and typedefs of structures)*****************************************/
  14. /*** global variables defined in .c file *********************************************************/
  15. extern int ftpfs_use_netrc;
  16. extern char *ftpfs_anonymous_passwd;
  17. extern char *ftpfs_proxy_host;
  18. extern int ftpfs_directory_timeout;
  19. extern int ftpfs_always_use_proxy;
  20. extern int ftpfs_ignore_chattr_errors;
  21. extern int ftpfs_retry_seconds;
  22. extern int ftpfs_use_passive_connections;
  23. extern int ftpfs_use_passive_connections_over_proxy;
  24. extern int ftpfs_use_unix_list_options;
  25. extern int ftpfs_first_cd_then_ls;
  26. /*** declarations of public functions ************************************************************/
  27. void ftpfs_init_passwd (void);
  28. void init_ftpfs (void);
  29. /*** inline functions ****************************************************************************/
  30. #endif