Files
systemd/src/shared/install-printf.h
Lennart Poettering 4870133bfa basic: add RuntimeScope enum
In various tools and services we have a per-system and per-user concept.
So far we sometimes used a boolean indicating whether we are in system
mode, or a reversed boolean indicating whether we are in user mode, or
the LookupScope enum used by the lookup path logic.

Let's address that, in introduce a common enum for this, we can use all
across the board.

This is mostly just search/replace, no actual code changes.
2023-03-10 09:47:39 +01:00

12 lines
275 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "install.h"
#include "unit-name.h"
int install_name_printf(
RuntimeScope scope,
const InstallInfo *info,
const char *format,
char **ret);