le_fs_interface.h
Go to the documentation of this file.
67 //--------------------------------------------------------------------------------------------------70 * Connect the current client thread to the service providing this API. Block until the service is74 * called before any other functions in this API. Normally, ConnectService is automatically called79 //--------------------------------------------------------------------------------------------------85 //--------------------------------------------------------------------------------------------------88 * Try to connect the current client thread to the service providing this API. Return with an error92 * called before any other functions in this API. Normally, ConnectService is automatically called99 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.100 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).103 //--------------------------------------------------------------------------------------------------109 //--------------------------------------------------------------------------------------------------115 * longer a connection to the service, and the functions in this API can't be used. For details, see120 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------187 //--------------------------------------------------------------------------------------------------191 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------261 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------307 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------334 //--------------------------------------------------------------------------------------------------344 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------365 //--------------------------------------------------------------------------------------------------376 //--------------------------------------------------------------------------------------------------le_result_t le_fs_Read(le_fs_FileRef_t fileRef, uint8_t *bufPtr, size_t *bufNumElementsPtr)le_result_t le_fs_TryConnectService(void)le_result_t le_fs_GetSize(const char *filePath, size_t *sizePtr)le_result_t le_fs_Write(le_fs_FileRef_t fileRef, const uint8_t *bufPtr, size_t bufNumElements)le_result_t le_fs_Open(const char *filePath, le_fs_AccessMode_t accessMode, le_fs_FileRef_t *fileRefPtr)le_result_t le_fs_Delete(const char *filePath)void le_fs_ConnectService(void)le_result_t le_fs_Seek(le_fs_FileRef_t fileRef, int32_t offset, le_fs_Position_t position, int32_t *currentOffsetPtr)le_result_t le_fs_Close(le_fs_FileRef_t fileRef)le_result_t le_fs_Move(const char *srcPath, const char *destPath)void le_fs_DisconnectService(void)