snes9xgx/source/ngc/smbop.h

28 lines
829 B
C
Raw Normal View History

/****************************************************************************
* 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_
bool InitializeNetwork(bool silent);
2008-08-12 05:25:16 +02:00
bool ConnectShare (bool silent);
char * SMBPath(char * path);
2008-08-12 05:25:16 +02:00
int UpdateSMBdirname();
int ParseSMBdirectory ();
int LoadSMBFile (char * fbuffer, int length);
2008-09-27 00:28:57 +02:00
int LoadBufferFromSMB (char *filepath, bool silent);
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);
#endif