root/src/vfs/ftpfs/ftpfs.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /**
   2  * \file
   3  * \brief Header: Virtual File System: FTP file system
   4  */
   5 
   6 #ifndef MC__VFS_FTPFS_H
   7 #define MC__VFS_FTPFS_H
   8 
   9 #include "lib/vfs/xdirentry.h"
  10 
  11 /*** typedefs(not structures) and defined constants **********************************************/
  12 
  13 #define FTP_INET         1
  14 #define FTP_INET6        2
  15 
  16 #define OPT_FLUSH        1
  17 #define OPT_IGNORE_ERROR 2
  18 
  19 /*** enums ***************************************************************************************/
  20 
  21 /*** structures declarations (and typedefs of structures)*****************************************/
  22 
  23 /*** global variables defined in .c file *********************************************************/
  24 
  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;
  31 
  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;
  37 
  38 /*** declarations of public functions ************************************************************/
  39 
  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);
  44 
  45 /*** inline functions ****************************************************************************/
  46 #endif

/* [previous][next][first][last][top][bottom][index][help]  */