git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test for late inner functions
[swftools.git]
/
lib
/
os.h
diff --git
a/lib/os.h
b/lib/os.h
index
8f33eb8
..
7aadc2f
100755
(executable)
--- a/
lib/os.h
+++ b/
lib/os.h
@@
-34,9
+34,18
@@
char* getRegistryEntry(char*path);
int setRegistryEntry(char*key,char*value);
#endif
int setRegistryEntry(char*key,char*value);
#endif
+typedef struct _memfile {
+ void*data;
+ int len;
+} memfile_t;
+memfile_t* memfile_open(const char*path);
+void memfile_close(memfile_t*file);
+
char* getInstallationPath();
char* getInstallationPath();
-char* concatPaths(char*base, char*add);
-char* stripFilename(char*filename, char*newext);
+char* concatPaths(const char*base, const char*add);
+char* stripFilename(const char*filename, const char*newext);
+
+char* mktempname(char*buffer);
#ifdef __cplusplus
}
#ifdef __cplusplus
}