diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-10-04 12:57:23 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-10-06 19:27:11 +0200 |
commit | feae34d64ea3e037a2a6b631b768ea36c90d30bb (patch) | |
tree | 8930ac7e2fd276cfd8e598bfb3e6b7c024ab5307 /src/shared/portable-util.h | |
parent | path-lookup: move NETWORK_DIRS to network-util.h (diff) | |
download | systemd-feae34d64ea3e037a2a6b631b768ea36c90d30bb.tar.xz systemd-feae34d64ea3e037a2a6b631b768ea36c90d30bb.zip |
path-lookup: move find_portable_profile() to portable-util
Diffstat (limited to 'src/shared/portable-util.h')
-rw-r--r-- | src/shared/portable-util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shared/portable-util.h b/src/shared/portable-util.h new file mode 100644 index 0000000000..2c89fe3eb8 --- /dev/null +++ b/src/shared/portable-util.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +#include "constants.h" +#include "macro.h" + +#define PORTABLE_PROFILE_DIRS CONF_PATHS_NULSTR("systemd/portable/profile") + +int find_portable_profile(const char *name, const char *unit, char **ret_path); |