fceugx/source/ngc/smbop.h

32 lines
864 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-14 11:21:58 +02:00
SMBFILE OpenSMBFile(char * filepath);
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);
2008-10-14 11:21:58 +02:00
extern SMBFILE smbfile;
2008-09-02 03:57:21 +02:00
#endif