summaryrefslogtreecommitdiff
path: root/src/basic/runtime-scope.c
Commit message (Collapse)AuthorAgeFilesLines
* runtime-scope: add helper that turns RuntimeScope enum into --system/--user ↵Lennart Poettering2023-03-101-0/+8
| | | | string
* basic: add RuntimeScope enumLennart Poettering2023-03-101-0/+12
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.