root/src/vfs/smbfs/smbfs.h

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

INCLUDED FROM


   1 
   2 /**
   3  * \file
   4  * \brief Header: Virtual File System: smb file system
   5  */
   6 
   7 #ifndef MC__VFS_SMBFS_H
   8 #define MC__VFS_SMBFS_H
   9 
  10 /*** typedefs(not structures) and defined constants **********************************************/
  11 
  12 /*** enums ***************************************************************************************/
  13 
  14 /*** structures declarations (and typedefs of structures)*****************************************/
  15 
  16 typedef struct smb_authinfo
  17 {
  18     char *host;
  19     char *share;
  20     char *domain;
  21     char *user;
  22     char *password;
  23 } smb_authinfo;
  24 
  25 
  26 /*** global variables defined in .c file *********************************************************/
  27 
  28 /*** declarations of public functions ************************************************************/
  29 
  30 void vfs_init_smbfs (void);
  31 void smbfs_set_debug (int arg);
  32 
  33 smb_authinfo *vfs_smb_authinfo_new (const char *host,
  34                                     const char *share,
  35                                     const char *domain, const char *user, const char *pass);
  36 
  37 /* src/boxes.c */
  38 smb_authinfo *vfs_smb_get_authinfo (const char *host,
  39                                     const char *share, const char *domain, const char *user);
  40 
  41 /*** inline functions ****************************************************************************/
  42 #endif /* MC_VFS_SMBFS_H */

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