summaryrefslogtreecommitdiffstats
path: root/src/shared/portable-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/portable-util.h')
-rw-r--r--src/shared/portable-util.h9
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);