mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
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.
12 lines
275 B
C
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);
|