summaryrefslogtreecommitdiffstats
path: root/src/journal/journal-vacuum.h
blob: 0b336ac0136e009c29e46feed5e8344e1e8dec15 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: LGPL-2.1+ */
#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);