#include "sd-bus.h"
-#include "portable.h"
+typedef struct PortableChange PortableChange;
extern const sd_bus_vtable manager_vtable[];
#include "sd-bus.h"
+#include "bus-object.h"
#include "discover-image.h"
-#include "portabled.h"
+
+typedef struct Manager Manager;
int bus_image_common_get_os_release(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *error);
int bus_image_common_get_metadata(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *error);
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include "sd-bus.h"
+
#include "discover-image.h"
#include "hashmap.h"
-#include "portabled.h"
+
+typedef struct Manager Manager;
Image *manager_image_cache_get(Manager *m, const char *name_or_path);
#include "alloc-util.h"
#include "fd-util.h"
#include "log.h"
+#include "portabled.h"
#include "portabled-operation.h"
#include "process-util.h"
#include "list.h"
+typedef struct Manager Manager;
typedef struct Operation Operation;
-#include "portabled.h"
-
#define OPERATIONS_MAX 64
struct Operation {
#include "bus-object.h"
#include "hashmap.h"
#include "list.h"
-#include "runtime-scope.h"
-
-typedef struct Manager Manager;
-
#include "portabled-operation.h"
+#include "runtime-scope.h"
-struct Manager {
+typedef struct Manager {
sd_event *event;
sd_bus *bus;
unsigned n_operations;
RuntimeScope runtime_scope; /* for now always RUNTIME_SCOPE_SYSTEM */
-};
+} Manager;
extern const BusObjectImplementation manager_object;