Set logfile for smbfs using mc_setctl().
[midnight-commander.git] / lib / vfs / mc-vfs / smbfs.h
blobde92319886885b8cb5ed97a28ecc34e6f8e5078d
2 /**
3 * \file
4 * \brief Header: Virtual File System: smb file system
5 */
7 #ifndef MC__VFS_SMBFS_H
8 #define MC__VFS_SMBFS_H
10 /*** typedefs(not structures) and defined constants **********************************************/
12 /*** enums ***************************************************************************************/
14 /*** structures declarations (and typedefs of structures)*****************************************/
16 typedef struct smb_authinfo
18 char *host;
19 char *share;
20 char *domain;
21 char *user;
22 char *password;
23 } smb_authinfo;
26 /*** global variables defined in .c file *********************************************************/
28 /*** declarations of public functions ************************************************************/
30 void init_smbfs (void);
31 void smbfs_set_debug (int arg);
33 smb_authinfo *vfs_smb_authinfo_new (const char *host,
34 const char *share,
35 const char *domain, const char *user, const char *pass);
37 /* src/boxes.c */
38 smb_authinfo *vfs_smb_get_authinfo (const char *host,
39 const char *share, const char *domain, const char *user);
41 /*** inline functions ****************************************************************************/
42 #endif /* MC_VFS_SMBFS_H */