1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "dropin.h" 5 #include "unit.h" 6 7 /* Read service data supplementary drop-in directories */ 8 unit_find_dropin_paths(Unit * u,char *** paths)9static inline int unit_find_dropin_paths(Unit *u, char ***paths) { 10 assert(u); 11 12 return unit_file_find_dropin_paths(NULL, 13 u->manager->lookup_paths.search_path, 14 u->manager->unit_path_cache, 15 ".d", ".conf", 16 u->id, u->aliases, 17 paths); 18 } 19 20 int unit_load_dropin(Unit *u); 21