]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/load-dropin.h
Merge pull request #8417 from brauner/2018-03-09/add_bind_mount_fallback_to_private_d...
[thirdparty/systemd.git] / src / core / load-dropin.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2010 Lennart Poettering
8 ***/
9
10 #include "dropin.h"
11 #include "unit.h"
12
13 /* Read service data supplementary drop-in directories */
14
15 static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
16 assert(u);
17
18 return unit_file_find_dropin_conf_paths(NULL,
19 u->manager->lookup_paths.search_path,
20 u->manager->unit_path_cache,
21 u->names,
22 paths);
23 }
24
25 int unit_load_dropin(Unit *u);