]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/load-dropin.h
tree-wide: drop license boilerplate
[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 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);