snes9xgx/source/ngc/smbop.h

32 lines
796 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_
2008-10-14 11:21:34 +02:00
#include <smb.h>
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 ();
2008-10-14 11:21:34 +02:00
SMBFILE OpenSMBFile(char * filepath);
int LoadSMBSzFile(char * filepath, unsigned char * rbuffer);
2008-11-12 08:50:39 +01:00
int LoadSMBFile (char * sbuffer, char *filepath, int length, bool silent);
int SaveSMBFile (char * sbuffer, char *filepath, int length, bool silent);
2008-10-14 11:21:34 +02:00
extern SMBFILE smbfile;
#endif