2008-09-16 07:42:21 +02:00
|
|
|
/****************************************************************************
|
2008-09-17 04:27:55 +02:00
|
|
|
* Visual Boy Advance GX
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
2008-09-17 04:27:55 +02:00
|
|
|
* Tantric September 2008
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
|
|
|
* smbload.h
|
|
|
|
*
|
|
|
|
* SMB support routines
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _NGCSMB_
|
|
|
|
|
|
|
|
#define _NGCSMB_
|
|
|
|
|
2008-10-15 09:09:07 +02:00
|
|
|
#include <smb.h>
|
|
|
|
|
2008-09-16 07:42:21 +02:00
|
|
|
bool InitializeNetwork(bool silent);
|
|
|
|
bool ConnectShare (bool silent);
|
|
|
|
char * SMBPath(char * path);
|
|
|
|
int UpdateSMBdirname();
|
|
|
|
int ParseSMBdirectory ();
|
2008-10-15 09:09:07 +02:00
|
|
|
SMBFILE OpenSMBFile(char * filepath);
|
2008-09-29 09:35:26 +02:00
|
|
|
int LoadSMBFile (char * fbuffer, int length);
|
2008-10-15 09:09:07 +02:00
|
|
|
int LoadSMBSzFile(char * filepath, unsigned char * rbuffer);
|
2008-09-16 07:42:21 +02:00
|
|
|
int LoadBufferFromSMB (char *filepath, bool silent);
|
2008-09-29 09:35:26 +02:00
|
|
|
int LoadBufferFromSMB (char * sbuffer, char *filepath, int length, bool silent);
|
2008-09-16 07:42:21 +02:00
|
|
|
int SaveBufferToSMB (char *filepath, int datasize, bool silent);
|
2008-10-04 04:37:54 +02:00
|
|
|
int SaveBufferToSMB (char * sbuffer, char *filepath, int datasize, bool silent);
|
2008-10-15 09:09:07 +02:00
|
|
|
|
|
|
|
extern SMBFILE smbfile;
|
|
|
|
|
2008-09-16 07:42:21 +02:00
|
|
|
#endif
|