]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/load-dropin.h
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / core / load-dropin.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
c2f1db8f 2#pragma once
5cb5a6ff 3
1a7f1b38 4#include "dropin.h"
71d35b6b 5#include "unit.h"
5cb5a6ff
LP
6
7/* Read service data supplementary drop-in directories */
8
1a7f1b38 9static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
b119facd
LP
10 assert(u);
11
95778782
ZJS
12 return unit_file_find_dropin_conf_paths(NULL,
13 u->manager->lookup_paths.search_path,
14 u->manager->unit_path_cache,
15 u->names,
16 paths);
1a7f1b38
ZJS
17}
18
87f0e418 19int unit_load_dropin(Unit *u);