Etterna 0.74.4
Loading...
Searching...
No Matches
RageFileManager_ReadAhead.h
1#ifndef RAGE_FILE_MANAGER_READAHEAD_H
2#define RAGE_FILE_MANAGER_READAHEAD_H
3
4#include "RageFileBasic.h"
5
8void
9Init();
10void
11Shutdown();
12
13// Nonblockingly read ahead iBytes in pFile, starting at the current file
14// position.
15void
16ReadAhead(RageFileBasic* pFile, int iBytes);
17
18/* Discard iBytes of kernel cache, starting at the current file position plus
19 * iRelativePosition (which may be negative). */
20void
21DiscardCache(RageFileBasic* pFile, int iRelativePosition, int iBytes);
22
23void
24CacheHintStreaming(RageFileBasic* pFile);
25};
26
27#endif
Definition RageFileBasic.h:10
Utilities for reading the RageFiles.
Definition RageFileManager_ReadAhead.h:7