]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: move OOMPolicy varlink enum to varlink-idl-common
authorIvan Kruglov <mail@ikruglov.com>
Thu, 7 May 2026 12:47:59 +0000 (05:47 -0700)
committerIvan Kruglov <mail@ikruglov.com>
Mon, 11 May 2026 10:03:32 +0000 (03:03 -0700)
commite11867ebddbac497a6be7ada029595dbfb7e862d
tree913bdd244a0e4dd404e6d5fd78fd9f93940cac54
parent8787415123b87b74170e29b180fb5cb9ac32b7e9
shared: move OOMPolicy varlink enum to varlink-idl-common

OOMPolicy is used by both io.systemd.Manager (DefaultOOMPolicy) and io.systemd.Unit (ScopeContext.OOMPolicy), so it belongs in the shared common types alongside ManagedOOMMode and EmergencyAction.
src/shared/varlink-idl-common.c
src/shared/varlink-idl-common.h
src/shared/varlink-io.systemd.Manager.c
src/shared/varlink-io.systemd.Manager.h