blob: d00c0b54e79ce0b2c0d34c2c470f41bd62c28ef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**
* \file
* \brief Header: Virtual File System: FTP file system
*/
#ifndef MC__VFS_FTPFS_H
#define MC__VFS_FTPFS_H
#include "lib/vfs/xdirentry.h"
/*** typedefs(not structures) and defined constants **********************************************/
#define FTP_INET 1
#define FTP_INET6 2
#define OPT_FLUSH 1
#define OPT_IGNORE_ERROR 2
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
/*** global variables defined in .c file *********************************************************/
extern gboolean ftpfs_use_netrc;
extern char *ftpfs_anonymous_passwd;
extern char *ftpfs_proxy_host;
extern int ftpfs_directory_timeout;
extern gboolean ftpfs_always_use_proxy;
extern gboolean ftpfs_ignore_chattr_errors;
extern int ftpfs_retry_seconds;
extern gboolean ftpfs_use_passive_connections;
extern gboolean ftpfs_use_passive_connections_over_proxy;
extern gboolean ftpfs_use_unix_list_options;
extern gboolean ftpfs_first_cd_then_ls;
/*** declarations of public functions ************************************************************/
void ftpfs_init_passwd (void);
void vfs_init_ftpfs (void);
GSList *ftpfs_parse_long_list (struct vfs_class *me, struct vfs_s_inode *dir, GSList * buf,
int *err_ret);
/*** inline functions ****************************************************************************/
#endif
|