git » fp-git.git » commit 1622415

o Added disk access module

author ecalot
2003-11-04 01:05:28 UTC
committer ecalot
2003-11-04 01:05:28 UTC
parent 00a0ac9e5640629ab2e45c798720467c2395ea71

o Added disk access module

PR/src/include/disk.h +13 -0

diff --git a/PR/src/include/disk.h b/PR/src/include/disk.h
new file mode 100644
index 0000000..f8fa9a6
--- /dev/null
+++ b/PR/src/include/disk.h
@@ -0,0 +1,13 @@
+
+#ifndef _DISK_H_
+#define _DISK_H_
+
+#define SIZE_OF_FILE    64*1024
+
+void repairFolders(char* a);
+char writeData(const unsigned char* data, int ignoreChars, char* vFileext, int size);
+int makebase(const char* p);
+int mLoadFileArray(const char* vFile,unsigned char** array);
+char mSaveRaw(const char* vFile,const unsigned char* output, int size);
+
+#endif