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