| 273 | } |
| 274 | |
| 275 | IC void CLocatorAPI::archive::index(CLocatorAPI& loc, const char* fs_entry_point) |
| 276 | { |
| 277 | if (type == container::SQFS) |
| 278 | index_sqfs(loc, fs_entry_point); |
| 279 | else |
| 280 | index_db(loc, fs_entry_point); |
| 281 | } |
| 282 | |
| 283 | IC IReader* CLocatorAPI::archive::read(const char* fname, const struct file& desc, u32 gran) |
| 284 | { |