X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fos.h;h=532aea8c1930d3bbbfafb7418b2fb358e68fbf14;hp=67736fccfc52264aac54e3e7910819e4cccc7253;hb=2c719855eac434f01d47ba0717d76de65939d74e;hpb=8bf1104532ba4fbf5dc3efb444067f3ad6291785 diff --git a/lib/os.h b/lib/os.h index 67736fc..532aea8 100755 --- a/lib/os.h +++ b/lib/os.h @@ -29,17 +29,28 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ extern "C" { #endif +extern char path_seperator; + #ifdef WIN32 char* getRegistryEntry(char*path); 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* concatPaths(const char*base, const char*add); char* stripFilename(const char*filename, const char*newext); char* mktempname(char*buffer); +void move_file(const char*from, const char*to); + #ifdef __cplusplus } #endif