]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/nspawn/nspawn-register.h
tree-wide: drop license boilerplate
[thirdparty/systemd.git] / src / nspawn / nspawn-register.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2015 Lennart Poettering
8 ***/
9
10 #include <sys/types.h>
11
12 #include "sd-id128.h"
13
14 #include "nspawn-mount.h"
15
16 int register_machine(sd_bus *bus, const char *machine_name, pid_t pid, const char *directory, sd_id128_t uuid, int local_ifindex, const char *slice, CustomMount *mounts, unsigned n_mounts, int kill_signal, char **properties, bool keep_unit, const char *service);
17 int terminate_machine(sd_bus *bus, pid_t pid);
18
19 int allocate_scope(sd_bus *bus, const char *machine_name, pid_t pid, const char *slice, CustomMount *mounts, unsigned n_mounts, int kill_signal, char **properties);