F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
FileStubs.hpp File Reference
#include <Os/File.hpp>

Go to the source code of this file.

Namespaces

namespace  Os
 

Typedefs

typedef bool(* Os::OpenInterceptor) (Os::File::Status &status, const char *fileName, Os::File::Mode mode, void *ptr)
 
typedef bool(* Os::ReadInterceptor) (Os::File::Status &status, void *buffer, NATIVE_INT_TYPE &size, bool waitForFull, void *ptr)
 
typedef bool(* Os::WriteInterceptor) (Os::File::Status &status, const void *buffer, NATIVE_INT_TYPE &size, bool waitForDone, void *ptr)
 
typedef bool(* Os::SeekInterceptor) (Os::File::Status &status, NATIVE_INT_TYPE offset, bool absolute, void *ptr)
 

Functions

void Os::registerReadInterceptor (ReadInterceptor funcPtr, void *ptr)
 
void Os::clearReadInterceptor ()
 
void Os::registerWriteInterceptor (WriteInterceptor funcPtr, void *ptr)
 
void Os::clearWriteInterceptor ()
 
void Os::registerOpenInterceptor (OpenInterceptor funcPtr, void *ptr)
 
void Os::clearOpenInterceptor ()
 
void Os::registerSeekInterceptor (SeekInterceptor funcPtr, void *ptr)
 
void Os::clearSeekInterceptor ()
 
void Os::setLastError (NATIVE_INT_TYPE error)