mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-26 03:01:51 +01:00
35 lines
972 B
C
35 lines
972 B
C
/****************************************************************************
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
|
*
|
|
* softdev July 2006
|
|
* crunchy2 May 2007
|
|
* Tantric August 2008
|
|
*
|
|
* smbload.h
|
|
*
|
|
* SMB support routines
|
|
****************************************************************************/
|
|
|
|
#ifndef _NGCSMB_
|
|
|
|
#define _NGCSMB_
|
|
|
|
#include <smb.h>
|
|
|
|
bool InitializeNetwork(bool silent);
|
|
bool ConnectShare (bool silent);
|
|
char * SMBPath(char * path);
|
|
int UpdateSMBdirname();
|
|
int ParseSMBdirectory ();
|
|
SMBFILE OpenSMBFile(char * filepath);
|
|
int LoadSMBFile (char * fbuffer, int length);
|
|
int LoadSMBSzFile(char * filepath, unsigned char * rbuffer);
|
|
int LoadBufferFromSMB (char *filepath, bool silent);
|
|
int LoadBufferFromSMB (char * sbuffer, char *filepath, int length, bool silent);
|
|
int SaveBufferToSMB (char *filepath, int datasize, bool silent);
|
|
int SaveBufferToSMB (char * sbuffer, char *filepath, int datasize, bool silent);
|
|
|
|
extern SMBFILE smbfile;
|
|
|
|
#endif
|