summaryrefslogtreecommitdiffstats
path: root/src/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/json.h b/src/json.h
index cc08d9d..1d711dd 100644
--- a/src/json.h
+++ b/src/json.h
@@ -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)