]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/portable/portabled.h
libudev: hide definition of struct udev_list from other libudev components
[thirdparty/systemd.git] / src / portable / portabled.h
CommitLineData
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
10typedef struct Manager Manager;
11
12#include "portabled-operation.h"
13
14struct 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};