X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fos.h;h=d7cb2a22439d916fc04e615391938c1cd134c2b3;hb=c10fb05b68fa1c717ef7d62d84bfb29008d41c33;hp=2b321db8982930db139f8a6ccf7cf0fbf346b7f8;hpb=80cc20b7784cccc9d8baf9839f9781db6bb6f539;p=swftools.git diff --git a/lib/os.h b/lib/os.h index 2b321db..d7cb2a2 100755 --- a/lib/os.h +++ b/lib/os.h @@ -29,16 +29,25 @@ 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(const char*); +char* mktempname(char*buffer); #ifdef __cplusplus }