Flipper Developer Docs
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
7
extern
"C"
{
8
#endif
9
14
Stream
* file_stream_alloc(
Storage
* storage);
15
24
bool
file_stream_open(
25
Stream
* stream,
26
const
char
* path,
27
FS_AccessMode access_mode,
28
FS_OpenMode open_mode);
29
36
bool
file_stream_close(
Stream
* stream);
37
43
FS_Error file_stream_get_error(
Stream
* stream);
44
45
#ifdef __cplusplus
46
}
47
#endif
storage.h
APIs for working with storages, directories and files.
Storage
Definition
storage_i.h:23
Stream
Definition
stream_i.h:40
lib
toolbox
stream
file_stream.h
Generated by
1.12.0