diff options
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -138,11 +138,12 @@ struct og_cache_image { struct og_cache_data { uint64_t used_size; uint64_t free_size; + struct list_head image_list; }; -void og_cache_image_free(struct list_head *cache_list); -int og_json_parse_cache(json_t *element, struct og_cache_data *cache_data, struct list_head *cache_list); - +void og_cache_data_init(struct og_cache_data *cache_data); +void og_cache_data_free(struct og_cache_data *cache_data); +int og_json_parse_cache(json_t *element, struct og_cache_data *cache_data); #define OG_PARAM_EFI_ENTRIES (1UL << 0) #define OG_PARAM_EFI_ORDER (1UL << 1) |