summaryrefslogtreecommitdiff
path: root/src/journal/journal-vacuum.h
blob: 7f2cdadbfbbc6c0cc192592e06613f0afe902036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  Copyright 2011 Lennart Poettering
***/

#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);