runtime-scope: add helper that turns RuntimeScope enum into --system/--user string

This commit is contained in:
Lennart Poettering
2023-03-09 17:41:25 +01:00
parent 4870133bfa
commit 40d73340fa
4 changed files with 12 additions and 2 deletions

View File

@@ -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_;