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