]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
432cea00 LP |
2 | #pragma once |
3 | ||
4 | /*** | |
5 | This file is part of systemd. | |
6 | ||
7 | Copyright 2015 Lennart Poettering | |
432cea00 LP |
8 | ***/ |
9 | ||
a8fbdf54 TA |
10 | #include <stdint.h> |
11 | ||
432cea00 LP |
12 | #include "sd-bus.h" |
13 | ||
b6e676ce LP |
14 | /* Grow the /var/lib/machines directory after each 10MiB written */ |
15 | #define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024)) | |
16 | ||
4cee5eed | 17 | int setup_machine_directory(uint64_t size, sd_bus_error *error); |
26166c88 | 18 | int grow_machine_directory(void); |