HALF ECHO LEARN / REFERENCE COLLECTION
v262.2src/nspawn/nspawn-register.h
Git blob: df05579708f29ec8ed9cb3230a946e447d9e1838
Lines 1–23 of 23
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "forward.h"
#include "nspawn-settings.h"
typedef enum AllocateScopeFlags {
ALLOCATE_SCOPE_ALLOW_PIDFD = 1 << 0,
} AllocateScopeFlags;
int allocate_scope(
sd_bus *bus,
const char *machine_name,
const PidRef *pid,
const char *slice,
CustomMount *mounts, unsigned n_mounts,
int kill_signal,
char **properties,
sd_bus_message *properties_message,
StartMode start_mode,
AllocateScopeFlags flags);
int terminate_scope(sd_bus *bus, const char *machine_name);