]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/dbus-scope.h
core: undo the dependency inversion between unit.h and all unit types
[thirdparty/systemd.git] / src / core / dbus-scope.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2013 Lennart Poettering
8 ***/
9
10 #include "sd-bus.h"
11
12 #include "scope.h"
13
14 extern const sd_bus_vtable bus_scope_vtable[];
15
16 int bus_scope_set_property(Unit *u, const char *name, sd_bus_message *i, UnitWriteFlags flags, sd_bus_error *error);
17 int bus_scope_commit_properties(Unit *u);
18
19 int bus_scope_send_request_stop(Scope *s);
20
21 int bus_scope_track_controller(Scope *s);