]>
Commit | Line | Data |
---|---|---|
61d0578b LP |
1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
2 | #pragma once | |
3 | ||
4 | #include "sd-bus.h" | |
5 | #include "sd-event.h" | |
6 | ||
7 | #include "hashmap.h" | |
8 | #include "list.h" | |
9 | ||
10 | typedef struct Manager Manager; | |
11 | ||
12 | #include "portabled-operation.h" | |
13 | ||
14 | struct Manager { | |
15 | sd_event *event; | |
16 | sd_bus *bus; | |
17 | ||
18 | Hashmap *polkit_registry; | |
19 | ||
20 | Hashmap *image_cache; | |
21 | sd_event_source *image_cache_defer_event; | |
22 | ||
23 | LIST_HEAD(Operation, operations); | |
24 | unsigned n_operations; | |
25 | }; |