diff options
| author | Lennart Poettering <lennart@poettering.net> | 2017-06-21 19:17:38 +0200 |
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2017-06-26 15:14:41 +0200 |
| commit | 9efb9df9e327932022ae78eee7f7979fa73b59ef (patch) | |
| tree | 2eb6ed7c79849a9f217be0a8b74e1c44db56a428 /src/basic/unit-name.h | |
| parent | 3ceb72e5582948cd81fa7018716c67ac7f17905e (diff) | |
| download | systemd-9efb9df9e327932022ae78eee7f7979fa73b59ef.tar.gz | |
core: make NotifyAccess= and FileDescriptorStoreMax= available to transient services
This is helpful for debugging/testing #5606.
Diffstat (limited to 'src/basic/unit-name.h')
| -rw-r--r-- | src/basic/unit-name.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h index 44eadf0347..0f164a6aa9 100644 --- a/src/basic/unit-name.h +++ b/src/basic/unit-name.h @@ -257,6 +257,15 @@ typedef enum UnitDependency { _UNIT_DEPENDENCY_INVALID = -1 } UnitDependency; +typedef enum NotifyAccess { + NOTIFY_NONE, + NOTIFY_ALL, + NOTIFY_MAIN, + NOTIFY_EXEC, + _NOTIFY_ACCESS_MAX, + _NOTIFY_ACCESS_INVALID = -1 +} NotifyAccess; + typedef enum UnitNameFlags { UNIT_NAME_PLAIN = 1, /* Allow foo.service */ UNIT_NAME_INSTANCE = 2, /* Allow foo@bar.service */ @@ -365,3 +374,6 @@ TimerState timer_state_from_string(const char *s) _pure_; const char *unit_dependency_to_string(UnitDependency i) _const_; UnitDependency unit_dependency_from_string(const char *s) _pure_; + +const char* notify_access_to_string(NotifyAccess i) _const_; +NotifyAccess notify_access_from_string(const char *s) _pure_; |
