# ------------------------------------------------------------------------------
systemd_nspawn_SOURCES = \
src/nspawn/nspawn.c \
- src/nspawn/nspawn.h \
src/nspawn/nspawn-settings.c \
src/nspawn/nspawn-settings.h \
src/nspawn/nspawn-mount.c \
#include "fileio.h"
#include "cgroup-util.h"
-#include "nspawn.h"
#include "nspawn-cgroup.h"
int chown_cgroup(pid_t pid, uid_t uid_shift) {
#include "local-addresses.h"
#include "netlink-util.h"
-#include "nspawn.h"
#include "nspawn-expose-ports.h"
int expose_port_parse(ExposePort **l, const char *s) {
%{
#include <stddef.h>
#include "conf-parser.h"
-#include "nspawn.h"
#include "nspawn-settings.h"
#include "nspawn-expose-ports.h"
%}
#include "set.h"
#include "cgroup-util.h"
-#include "nspawn.h"
#include "nspawn-mount.h"
CustomMount* custom_mount_add(CustomMount **l, unsigned *n, CustomMountType t) {
#include "netlink-util.h"
#include "udev-util.h"
-#include "nspawn.h"
#include "nspawn-network.h"
#define HOST_HASH_KEY SD_ID128_MAKE(1a,37,6f,c7,46,ec,45,0b,ad,a3,d5,31,06,60,5d,b1)
#include "bus-util.h"
#include "bus-error.h"
-#include "nspawn.h"
#include "nspawn-register.h"
int register_machine(
#include "strv.h"
#include "cap-list.h"
-#include "nspawn.h"
#include "nspawn-settings.h"
int settings_load(FILE *f, const char *path, Settings **ret) {
#include <stdio.h>
#include "macro.h"
-#include "nspawn.h"
+
#include "nspawn-mount.h"
#include "nspawn-expose-ports.h"
#include "mkdir.h"
#include "process-util.h"
-#include "nspawn.h"
#include "nspawn-setuid.h"
static int spawn_getent(const char *database, const char *key, pid_t *rpid) {
#include "seccomp-util.h"
#endif
-#include "nspawn.h"
#include "nspawn-settings.h"
#include "nspawn-mount.h"
#include "nspawn-network.h"
+++ /dev/null
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
-#pragma once
-
-/***
- This file is part of systemd.
-
- Copyright 2015 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/>.
-***/