Loading...
Searching...
No Matches
file_stream.h
1#pragma once
2#include <stdlib.h>
3#include <storage/storage.h>
4#include "stream.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
14Stream* file_stream_alloc(Storage* storage);
15
24bool file_stream_open(
25 Stream* stream,
26 const char* path,
27 FS_AccessMode access_mode,
28 FS_OpenMode open_mode);
29
36bool file_stream_close(Stream* stream);
37
43FS_Error file_stream_get_error(Stream* stream);
44
45#ifdef __cplusplus
46}
47#endif
APIs for working with storages, directories and files.
Definition storage_i.h:23
Definition stream_i.h:40