21 #ifndef __SBG_INTERFACE_FILE_H__ 22 #define __SBG_INTERFACE_FILE_H__ This file implements the base interface for all Serial and Ethernet ports.
SbgErrorCode sbgInterfaceFileWrite(SbgInterface *pHandle, const void *pBuffer, size_t bytesToWrite)
SbgErrorCode sbgInterfaceFileWriteFake(SbgInterface *pHandle, const void *pBuffer, size_t bytesToWrite)
SbgErrorCode sbgInterfaceFileWriteOpen(SbgInterface *pHandle, const char *filePath)
size_t sbgInterfaceFileGetSize(SbgInterface *pHandle)
SbgErrorCode sbgInterfaceFileRead(SbgInterface *pHandle, void *pBuffer, size_t *pReadBytes, size_t bytesToRead)
SbgErrorCode sbgInterfaceFileReadFake(SbgInterface *pHandle, void *pBuffer, size_t *pReadBytes, size_t bytesToRead)
SbgErrorCode sbgInterfaceFileOpen(SbgInterface *pHandle, const char *filePath)
size_t sbgInterfaceFileGetCursor(const SbgInterface *pHandle)
enum _SbgErrorCode SbgErrorCode
SbgErrorCode sbgInterfaceFileClose(SbgInterface *pHandle)