Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/libhamcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2021-05-26 05:17:09 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2021-05-26 05:17:09 +0300
commit2951ae5b61b16c1f4e03ceee88d6db7e1e45362b (patch)
tree59a6d588a2bbdbe4f2c9fdf4a2602b3048bdc11a /FileSystem.h
parente745c1d1d9e268b3ac2af1b680e1fe28bfaa8080 (diff)
Prefix symbols to prevent potential conflicts when linking to the libraryHEADmaster
Diffstat (limited to 'FileSystem.h')
-rwxr-xr-xFileSystem.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/FileSystem.h b/FileSystem.h
index b4092c7..a7877c2 100755
--- a/FileSystem.h
+++ b/FileSystem.h
@@ -4,16 +4,16 @@
#include <stdbool.h>
#include <stdio.h>
-FILE *FileOpen(const char *path, const bool write);
-bool FileClose(FILE *file);
+FILE *Ham_FileOpen(const char *path, const bool write);
+bool Ham_FileClose(FILE *file);
-bool FileRead(FILE *file, void *dst, const size_t size);
-bool FileWrite(FILE *file, const void *src, const size_t size);
+bool Ham_FileRead(FILE *file, void *dst, const size_t size);
+bool Ham_FileWrite(FILE *file, const void *src, const size_t size);
-bool FileSeek(FILE *file, const size_t offset);
+bool Ham_FileSeek(FILE *file, const size_t offset);
-size_t FileSize(const char *path);
+size_t Ham_FileSize(const char *path);
-const char *PathRelativeToBase(const char *full, const char *base);
+const char *Ham_PathRelativeToBase(const char *full, const char *base);
#endif