SLikeNet 0.1.3

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FileOperations.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2014, Oculus VR, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * RakNet License.txt file in the licenses directory of this source tree. An additional grant
7 * of patent rights can be found in the RakNet Patents.txt file in the same directory.
8 *
9 */
10
13
14
15 #include "NativeFeatureIncludes.h"
16 #if _RAKNET_SUPPORT_FileOperations==1
17
18 #ifndef __FILE_OPERATIONS_H
19 #define __FILE_OPERATIONS_H
20
21 #include "Export.h"
22
23 bool RAK_DLL_EXPORT WriteFileWithDirectories( const char *path, char *data, unsigned dataLength );
24 bool RAK_DLL_EXPORT IsSlash(unsigned char c);
25 void RAK_DLL_EXPORT AddSlash( char *input );
26 void RAK_DLL_EXPORT QuoteIfSpaces(char *str);
27 bool RAK_DLL_EXPORT DirectoryExists(const char *directory);
28 unsigned int RAK_DLL_EXPORT GetFileLength(const char *path);
29
30 #endif
31
32 #endif // _RAKNET_SUPPORT_FileOperations