mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Added all raknet headers for full raknet support Added Testclass "TestCB.cpp" which is a test implementation for raknet plugin "File List Transfer". We will use this plugin for file transfer in multiplayer git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2638 3b4a5df2-a311-0410-b5c6-a8a6f20db521
14 lines
456 B
C
14 lines
456 B
C
#ifndef __FILE_OPERATIONS_H
|
|
#define __FILE_OPERATIONS_H
|
|
|
|
#include "Export.h"
|
|
|
|
bool RAK_DLL_EXPORT WriteFileWithDirectories( const char *path, char *data, unsigned dataLength );
|
|
bool RAK_DLL_EXPORT IsSlash(unsigned char c);
|
|
void RAK_DLL_EXPORT AddSlash( char *input );
|
|
void RAK_DLL_EXPORT QuoteIfSpaces(char *str);
|
|
bool RAK_DLL_EXPORT DirectoryExists(const char *directory);
|
|
unsigned int RAK_DLL_EXPORT GetFileLength(const char *path);
|
|
|
|
#endif
|