Loading...
Searching...
No Matches
buffered_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* buffered_file_stream_alloc(Storage* storage);
15
24bool buffered_file_stream_open(
25 Stream* stream,
26 const char* path,
27 FS_AccessMode access_mode,
28 FS_OpenMode open_mode);
29
35bool buffered_file_stream_close(Stream* stream);
36
42bool buffered_file_stream_sync(Stream* stream);
43
49FS_Error buffered_file_stream_get_error(Stream* stream);
50
51#ifdef __cplusplus
52}
53#endif
APIs for working with storages, directories and files.
Definition storage_i.h:23
Definition stream_i.h:40