As suggested in https://github.com/systemd/systemd/pull/22649/commits/8b3ad3983f5440eef812b34e5ed862ca59fdf7f7#r837345892 The define is generalized and moved to path-lookup.h, where it seems to fit better. This allows a recursive include to be removed and in general makes things simpler.
12 lines
282 B
C
12 lines
282 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "install.h"
|
|
#include "unit-name.h"
|
|
|
|
int install_name_printf(
|
|
LookupScope scope,
|
|
const UnitFileInstallInfo *info,
|
|
const char *format,
|
|
char **ret);
|