summaryrefslogtreecommitdiff
path: root/src/machine/machined.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-28 02:44:37 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-28 02:44:37 +0100
commit1ddb263d21099ae42195c2bc382bdf72a7f24f82 (patch)
tree5dacc98baedd786030704379bb7e65e77ff92391 /src/machine/machined.h
parent3b9c7d955da357a45c0bcd03397160153539bc57 (diff)
machined: don't look for images on each property get, but cache the image object inbetween
Diffstat (limited to 'src/machine/machined.h')
-rw-r--r--src/machine/machined.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/machine/machined.h b/src/machine/machined.h
index 695ba297cc..df0cb82f8d 100644
--- a/src/machine/machined.h
+++ b/src/machine/machined.h
@@ -46,6 +46,9 @@ struct Manager {
Hashmap *polkit_registry;
+ Hashmap *image_cache;
+ sd_event_source *image_cache_defer_event;
+
LIST_HEAD(Machine, machine_gc_queue);
};