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

/***
  This file is part of systemd.

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