| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "sd-bus-vtable.h" |
| 5 |
|
| 6 |
#include "core-forward.h" |
| 7 |
|
| 8 |
extern const sd_bus_vtable bus_cgroup_vtable[]; |
| 9 |
|
| 10 |
int bus_property_get_tasks_max( |
| 11 |
sd_bus *bus, |
| 12 |
const char *path, |
| 13 |
const char *interface, |
| 14 |
const char *property, |
| 15 |
sd_bus_message *reply, |
| 16 |
void *userdata, |
| 17 |
sd_bus_error *reterr_error); |
| 18 |
int bus_property_get_cgroup_pressure_watch( |
| 19 |
sd_bus *bus, |
| 20 |
const char *path, |
| 21 |
const char *interface, |
| 22 |
const char *property, |
| 23 |
sd_bus_message *reply, |
| 24 |
void *userdata, |
| 25 |
sd_bus_error *reterr_error); |
| 26 |
|
| 27 |
int bus_cgroup_set_property( |
| 28 |
Unit *u, |
| 29 |
CGroupContext *c, |
| 30 |
const char *name, |
| 31 |
sd_bus_message *message, |
| 32 |
UnitWriteFlags flags, |
| 33 |
sd_bus_error *reterr_error); |