summaryrefslogtreecommitdiff
path: root/src/grp-system/libcore/dbus-scope.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 17:26:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-10 17:26:37 -0400
commitbcbdba00c1641217b488dcdb13abd22ace4733ad (patch)
tree3730b7009ba8423b636f27c39af2e9f1781e7099 /src/grp-system/libcore/dbus-scope.h
parent660cbff7f8a7c27e2d3f7e0ea175ffb7e7a2b749 (diff)
./tools/move.sh
Diffstat (limited to 'src/grp-system/libcore/dbus-scope.h')
-rw-r--r--src/grp-system/libcore/dbus-scope.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/grp-system/libcore/dbus-scope.h b/src/grp-system/libcore/dbus-scope.h
new file mode 100644
index 0000000000..f96ddef0cf
--- /dev/null
+++ b/src/grp-system/libcore/dbus-scope.h
@@ -0,0 +1,31 @@
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2013 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <systemd/sd-bus.h>
+
+#include "unit.h"
+
+extern const sd_bus_vtable bus_scope_vtable[];
+
+int bus_scope_set_property(Unit *u, const char *name, sd_bus_message *i, UnitSetPropertiesMode mode, sd_bus_error *error);
+int bus_scope_commit_properties(Unit *u);
+
+int bus_scope_send_request_stop(Scope *s);