summaryrefslogtreecommitdiffstats
path: root/src/journal/journal-vacuum.h
blob: d87c847da602040b1390d27d6e20560f27e1834b (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <inttypes.h>
#include <stdbool.h>

#include "time-util.h"

int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t n_max_files, usec_t max_retention_usec, usec_t *oldest_usec, bool verbose);