summaryrefslogtreecommitdiffstats
path: root/src/basic/runtime-scope.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-03-09 17:41:25 +0100
committerLennart Poettering <lennart@poettering.net>2023-03-10 09:47:58 +0100
commit40d73340faabb6073602ba3ff41896f3478a2cbf (patch)
treebee3bf080c849adca0827b79d3f16dd7914782d5 /src/basic/runtime-scope.h
parentbasic: add RuntimeScope enum (diff)
downloadsystemd-40d73340faabb6073602ba3ff41896f3478a2cbf.tar.xz
systemd-40d73340faabb6073602ba3ff41896f3478a2cbf.zip
runtime-scope: add helper that turns RuntimeScope enum into --system/--user string
Diffstat (limited to 'src/basic/runtime-scope.h')
-rw-r--r--src/basic/runtime-scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/runtime-scope.h b/src/basic/runtime-scope.h
index 6a7f9e65d4..6553e4c199 100644
--- a/src/basic/runtime-scope.h
+++ b/src/basic/runtime-scope.h
@@ -15,3 +15,5 @@ typedef enum RuntimeScope {
const char *runtime_scope_to_string(RuntimeScope scope) _const_;
RuntimeScope runtime_scope_from_string(const char *s) _const_;
+
+const char *runtime_scope_cmdline_option_to_string(RuntimeScope scope) _const_;