mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-07 10:54:29 +03:00
feb733663f
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
46 lines
1.3 KiB
C
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 */
|