fceugx/source/ngc/smbop.h

30 lines
824 B
C
Raw Normal View History

2008-09-02 03:57:21 +02:00
/****************************************************************************
* FCE Ultra 0.98.12
* Nintendo Wii/Gamecube Port
*
* Tantric September 2008
*
* smbop.h
*
* SMB support routines
****************************************************************************/
#ifndef _SMBOP_H_
#define _SMBOP_H_
2008-10-13 20:15:03 +02:00
#include <smb.h>
2008-09-02 03:57:21 +02:00
bool InitializeNetwork(bool silent);
bool ConnectShare (bool silent);
char * SMBPath(char * path);
int UpdateSMBdirname();
int ParseSMBdirectory ();
2008-10-13 20:15:03 +02:00
SMBFILE OpenSMBFile();
int LoadSMBFile (char * fbuffer, int length);
2008-10-13 20:15:03 +02:00
int LoadSMBSzFile(char * filepath, unsigned char * rbuffer);
2008-09-02 03:57:21 +02:00
int LoadSaveBufferFromSMB (char *filepath, bool silent);
int LoadBufferFromSMB (char * sbuffer, char *filepath, int length, bool silent);
2008-09-02 03:57:21 +02:00
int SaveBufferToSMB (char *filepath, int datasize, bool silent);
#endif