2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2019-08-07 14:58:59 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "manager.h"
|
|
|
|
|
|
|
|
int manager_varlink_init(Manager *m);
|
|
|
|
void manager_varlink_done(Manager *m);
|
2020-03-10 09:46:09 +01:00
|
|
|
|
|
|
|
/* The manager is expected to send an update to systemd-oomd if one of the following occurs:
|
|
|
|
* - The value of ManagedOOM*= properties change
|
|
|
|
* - A unit with ManagedOOM*= properties changes unit active state */
|
|
|
|
int manager_varlink_send_managed_oom_update(Unit *u);
|