2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-09-12 07:28:40 +02:00
|
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* softdev July 2006
|
|
|
|
* crunchy2 May 2007
|
2008-08-10 05:14:39 +02:00
|
|
|
* Tantric August 2008
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
2008-09-12 07:28:40 +02:00
|
|
|
* smbload.h
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
2008-08-10 05:14:39 +02:00
|
|
|
* SMB support routines
|
2008-08-06 03:09:59 +02:00
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _NGCSMB_
|
2008-08-07 05:25:02 +02:00
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#define _NGCSMB_
|
|
|
|
|
2008-10-14 11:21:34 +02:00
|
|
|
#include <smb.h>
|
|
|
|
|
2008-08-10 05:14:39 +02:00
|
|
|
bool InitializeNetwork(bool silent);
|
2008-08-12 05:25:16 +02:00
|
|
|
bool ConnectShare (bool silent);
|
2008-08-10 10:09:22 +02:00
|
|
|
char * SMBPath(char * path);
|
2008-08-12 05:25:16 +02:00
|
|
|
int UpdateSMBdirname();
|
|
|
|
int ParseSMBdirectory ();
|
2008-10-14 11:21:34 +02:00
|
|
|
SMBFILE OpenSMBFile(char * filepath);
|
2008-10-05 23:56:18 +02:00
|
|
|
int LoadSMBFile (char * fbuffer, int length);
|
2008-10-14 11:21:34 +02:00
|
|
|
int LoadSMBSzFile(char * filepath, unsigned char * rbuffer);
|
2008-09-27 00:28:57 +02:00
|
|
|
int LoadBufferFromSMB (char *filepath, bool silent);
|
2008-10-05 23:56:18 +02:00
|
|
|
int LoadBufferFromSMB (char * sbuffer, char *filepath, int length, bool silent);
|
2008-09-27 00:28:57 +02:00
|
|
|
int SaveBufferToSMB (char *filepath, int datasize, bool silent);
|
2008-10-04 04:27:05 +02:00
|
|
|
int SaveBufferToSMB (char * sbuffer, char *filepath, int datasize, bool silent);
|
2008-10-14 11:21:34 +02:00
|
|
|
|
|
|
|
extern SMBFILE smbfile;
|
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#endif
|