summaryrefslogtreecommitdiff
path: root/src/core/load-dropin.h
blob: c97de616f16e7ffa5bbf58c5158f6871000c9db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  This file is part of systemd.

  Copyright 2010 Lennart Poettering
***/

#include "dropin.h"
#include "unit.h"

/* Read service data supplementary drop-in directories */

static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
        return unit_file_find_dropin_conf_paths(NULL,
                                                u->manager->lookup_paths.search_path,
                                                u->manager->unit_path_cache,
                                                u->names,
                                                paths);
}

int unit_load_dropin(Unit *u);