]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/machine-pool.h
grypt-util: drop two emacs modelines
[thirdparty/systemd.git] / src / shared / machine-pool.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 Copyright 2015 Lennart Poettering
6 ***/
7
8 #include <stdint.h>
9
10 #include "sd-bus.h"
11
12 /* Grow the /var/lib/machines directory after each 10MiB written */
13 #define GROW_INTERVAL_BYTES (UINT64_C(10) * UINT64_C(1024) * UINT64_C(1024))
14
15 int setup_machine_directory(uint64_t size, sd_bus_error *error);
16 int grow_machine_directory(void);