Merge branch '4642_fix_overflow'
[midnight-commander.git] / src / vfs / ftpfs / ftpfs.h
blob4043efe3842bcf33f12209ddddbf0265860a3d0c
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 #include "lib/vfs/xdirentry.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 #define FTP_INET 1
14 #define FTP_INET6 2
16 #define OPT_FLUSH 1
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,
43 int *err_ret);
45 /*** inline functions ****************************************************************************/
46 #endif