mc/lib/vfs/mc-vfs/smbfs.h
Slava Zanko feb733663f Code indentation in lib directory
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-11-24 10:27:20 +03:00

46 lines
1.3 KiB
C

/**
* \file
* \brief Header: Virtual File System: smb file system
*/
#ifndef MC__VFS_SMBFS_H
#define MC__VFS_SMBFS_H
/*** typedefs(not structures) and defined constants **********************************************/
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
typedef struct smb_authinfo
{
char *host;
char *share;
char *domain;
char *user;
char *password;
} smb_authinfo;
/*** global variables defined in .c file *********************************************************/
/*** declarations of public functions ************************************************************/
void init_smbfs (void);
void smbfs_set_debug (int arg);
void smbfs_set_debugf (const char *filename);
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);
/*** inline functions ****************************************************************************/
#endif /* MC_VFS_SMBFS_H */