diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-04-16 21:41:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-05-24 17:01:57 +0200 |
commit | 61d0578b07b97cbffebfd350bac481274e310d39 (patch) | |
tree | daa8b07cf96b942ba7be0eab3ce86c1fa9cf029e /src/portable/portabled-bus.h | |
parent | 19017acb9f3e5e7edad18f59acb872bfb8dda949 (diff) | |
download | systemd-61d0578b07b97cbffebfd350bac481274e310d39.tar.gz |
add new portable service framework
This adds a small service "systemd-portabled" and a matching client
"portablectl", which implement the "portable service" concept.
The daemon implements the actual operations, is PolicyKit-enabled and is
activated on demand with exit-on-idle.
Both the daemon and the client are an optional build artifact, enabled
by default rhough.
Diffstat (limited to 'src/portable/portabled-bus.h')
-rw-r--r-- | src/portable/portabled-bus.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/portable/portabled-bus.h b/src/portable/portabled-bus.h new file mode 100644 index 0000000000..5810517ca3 --- /dev/null +++ b/src/portable/portabled-bus.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +#include "sd-bus.h" + +#include "portable.h" + +extern const sd_bus_vtable manager_vtable[]; + +int reply_portable_changes(sd_bus_message *m, const PortableChange *changes, size_t n_changes); |