]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/load-dropin.h
tree-wide: drop license boilerplate
[thirdparty/systemd.git] / src / core / load-dropin.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
c2f1db8f 2#pragma once
5cb5a6ff 3
a7334b09
LP
4/***
5 This file is part of systemd.
6
7 Copyright 2010 Lennart Poettering
a7334b09
LP
8***/
9
1a7f1b38 10#include "dropin.h"
71d35b6b 11#include "unit.h"
5cb5a6ff
LP
12
13/* Read service data supplementary drop-in directories */
14
1a7f1b38 15static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
95778782
ZJS
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);
1a7f1b38
ZJS
21}
22
87f0e418 23int unit_load_dropin(Unit *u);