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