#ifndef __SMB_NETFS__
#define __SMB_NETFS__
#include <CoreFoundation/CoreFoundation.h>
#define SMB_PREFIX "smb://"
#ifdef __cplusplus
extern "C" {
#endif
netfsError SMB_CreateSessionRef(void **sessionRef);
netfsError SMB_GetServerInfo(CFURLRef url, void *sessionRef, CFDictionaryRef openOptions, CFDictionaryRef *serverParms);
netfsError SMB_ParseURL(CFURLRef url, CFDictionaryRef *urlParms);
netfsError SMB_CreateURL(CFDictionaryRef urlParms, CFURLRef *url);
netfsError SMB_OpenSession(CFURLRef url, void *sessionRef, CFDictionaryRef openOptions, CFDictionaryRef *sessionInfo);
netfsError SMB_EnumerateShares(void *sessionRef, CFDictionaryRef in_EnumerateOptions, CFDictionaryRef *sharePoints);
netfsError SMB_Mount(void *sessionRef, CFURLRef url, CFStringRef mPoint, CFDictionaryRef mOptions, CFDictionaryRef *mInfo);
netfsError SMB_Cancel(void *sessionRef);
netfsError SMB_CloseSession(void *sessionRef);
netfsError SMB_GetMountInfo(CFStringRef in_Mountpath, CFDictionaryRef *out_MountInfo);
#ifdef __cplusplus
};
#endif
#endif