1 /**
2  * @file lv_cache_entry_private.h
3  *
4  */
5 
6 #ifndef LV_CACHE_ENTRY_PRIVATE_H
7 #define LV_CACHE_ENTRY_PRIVATE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../lv_types.h"
17 #include "../../osal/lv_os.h"
18 #include "../lv_profiler.h"
19 
20 /*********************
21  *      DEFINES
22  *********************/
23 
24 /**********************
25  *      TYPEDEFS
26  **********************/
27 
28 /**********************
29  * GLOBAL PROTOTYPES
30  **********************/
31 void   lv_cache_entry_reset_ref(lv_cache_entry_t * entry);
32 void   lv_cache_entry_inc_ref(lv_cache_entry_t * entry);
33 void   lv_cache_entry_dec_ref(lv_cache_entry_t * entry);
34 void   lv_cache_entry_set_node_size(lv_cache_entry_t * entry, uint32_t node_size);
35 void   lv_cache_entry_set_invalid(lv_cache_entry_t * entry, bool is_invalid);
36 void   lv_cache_entry_set_cache(lv_cache_entry_t * entry, const lv_cache_t * cache);
37 void * lv_cache_entry_acquire_data(lv_cache_entry_t * entry);
38 void   lv_cache_entry_release_data(lv_cache_entry_t * entry, void * user_data);
39 
40 /*************************
41  *    GLOBAL VARIABLES
42  *************************/
43 
44 /**********************
45  *      MACROS
46  **********************/
47 
48 #ifdef __cplusplus
49 } /*extern "C"*/
50 #endif
51 
52 #endif /* LV_CACHE_ENTRY_PRIVATE_H */
53