2009-02-07 15:54:58 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief Header: Virtual File System: smb file system
|
|
|
|
*/
|
|
|
|
|
2004-08-17 13:17:43 +04:00
|
|
|
#ifndef MC_VFS_SMBFS_H
|
|
|
|
#define MC_VFS_SMBFS_H
|
2001-10-24 12:16:16 +04:00
|
|
|
|
2004-08-17 13:17:43 +04:00
|
|
|
void init_smbfs (void);
|
2010-07-08 11:32:37 +04:00
|
|
|
void smbfs_set_debug (int arg);
|
|
|
|
void smbfs_set_debugf (const char *filename);
|
2001-10-24 12:16:16 +04:00
|
|
|
|
2010-07-08 11:32:37 +04:00
|
|
|
typedef struct smb_authinfo
|
|
|
|
{
|
|
|
|
char *host;
|
|
|
|
char *share;
|
|
|
|
char *domain;
|
|
|
|
char *user;
|
|
|
|
char *password;
|
|
|
|
} smb_authinfo;
|
|
|
|
|
|
|
|
smb_authinfo *vfs_smb_authinfo_new (const char *host,
|
|
|
|
const char *share,
|
|
|
|
const char *domain,
|
|
|
|
const char *user,
|
|
|
|
const char *pass);
|
|
|
|
|
|
|
|
/* src/boxes.c */
|
|
|
|
smb_authinfo *vfs_smb_get_authinfo (const char *host,
|
|
|
|
const char *share,
|
|
|
|
const char *domain,
|
|
|
|
const char *user);
|
|
|
|
|
|
|
|
#endif /* MC_VFS_SMBFS_H */
|