8#ifndef STUBS_FILESTUBS_HPP_
9#define STUBS_FILESTUBS_HPP_
PlatformIntType NATIVE_INT_TYPE
void registerReadInterceptor(ReadInterceptor funcPtr, void *ptr)
bool(* OpenInterceptor)(Os::File::Status &status, const char *fileName, Os::File::Mode mode, void *ptr)
void clearWriteInterceptor()
void clearSeekInterceptor()
void registerSeekInterceptor(SeekInterceptor funcPtr, void *ptr)
void setLastError(NATIVE_INT_TYPE error)
void registerWriteInterceptor(WriteInterceptor funcPtr, void *ptr)
bool(* WriteInterceptor)(Os::File::Status &status, const void *buffer, NATIVE_INT_TYPE &size, bool waitForDone, void *ptr)
void registerOpenInterceptor(OpenInterceptor funcPtr, void *ptr)
bool(* SeekInterceptor)(Os::File::Status &status, NATIVE_INT_TYPE offset, bool absolute, void *ptr)
void clearReadInterceptor()
void clearOpenInterceptor()
bool(* ReadInterceptor)(Os::File::Status &status, void *buffer, NATIVE_INT_TYPE &size, bool waitForFull, void *ptr)