16 if(!StringDB || !StringDB->
DB || !FileName || !*FileName)
27 f = open(AbsFileName, O_RDONLY);
30 TAP_MemFree(StringDB->
DB);
33 read(f, &l,
sizeof(dword));
34 StringDB->
DB = TAP_MemAlloc(l);
45 StringDB->
DBEnd = l + StringDB->
DB - 1;
48 read(f, &p,
sizeof(dword));
49 StringDB->
DBPtr = p + StringDB->
DB;
51 read(f, StringDB->
DB, l);
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
bool StringDBLoad(tStringDB *StringDB, char *FileName)