39 } E_STB_DSK_FILE_MODE;
46 } E_STB_DSK_FILE_POSITION;
53 } E_STB_DIR_ENTRY_TYPE;
127 E_STB_DIR_ENTRY_TYPE *entry_type);
void * STB_NVMOpenFile(U8BIT *name, E_STB_DSK_FILE_MODE mode)
Opens an existing file or creates a new one.
void STB_NVMCloseDirectory(void *dir)
Closes the directory for reading.
BOOLEAN STB_NVMMoveFile(U8BIT *oldname, U8BIT *newname)
Move/Rename a file or a directory. The original name and the new name may contain a path - the last e...
void STB_NVMCloseFile(void *file)
Flushes and closes an open file.
BOOLEAN STB_NVMFileSize(U8BIT *filename, U32BIT *filesize)
Returns the size in KB of the given file.
void * STB_NVMOpenDirectory(U8BIT *dir_name)
Opens a directory in order to read the entries.
U32BIT STB_NVMReadFile(void *file, U8BIT *data, U32BIT size)
Reads data from an open file.
System Wide Global Technical Data Type Definitions.
BOOLEAN STB_NVMReadDirectory(void *dir, U8BIT *filename, U16BIT filename_len, E_STB_DIR_ENTRY_TYPE *entry_type)
Reads the next entry from the directory, returning the name of the entry and the type of the entry...
U32BIT STB_NVMWriteFile(void *file, U8BIT *data, U32BIT size)
Writes data to an open file.
BOOLEAN STB_NVMDeleteFile(U8BIT *filename)
Deletes the file.