blob: e8789e6c04cab8138d2231412dc50e833bc24c31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
/**
* @file lv_fs_private.h
*
*/
#ifndef LV_FS_PRIVATE_H
#define LV_FS_PRIVATE_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "lv_fs.h"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
struct lv_fs_file_cache_t {
uint32_t start;
uint32_t end;
uint32_t file_position;
void * buffer;
};
/** Extended path object to specify buffer for memory-mapped files */
struct lv_fs_path_ex_t {
char path[4]; /**< This is needed to make it compatible with a normal path */
const void * buffer;
uint32_t size;
};
struct lv_fs_dir_t {
void * dir_d;
lv_fs_drv_t * drv;
};
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Initialize the File system interface
*/
void lv_fs_init(void);
/**
* Deinitialize the File system interface
*/
void lv_fs_deinit(void);
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /*LV_FS_PRIVATE_H*/
|