summaryrefslogtreecommitdiffstats
path: root/src/shared/varlink-io.systemd.Journal.c
blob: b93fb72acade745aea8d8bacfaae168b9f6da54d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "varlink-io.systemd.Journal.h"

static VARLINK_DEFINE_METHOD(Synchronize);
static VARLINK_DEFINE_METHOD(Rotate);
static VARLINK_DEFINE_METHOD(FlushToVar);
static VARLINK_DEFINE_METHOD(RelinquishVar);

static VARLINK_DEFINE_ERROR(NotSupportedByNamespaces);

VARLINK_DEFINE_INTERFACE(
                io_systemd_Journal,
                "io.systemd.Journal",
                &vl_method_Synchronize,
                &vl_method_Rotate,
                &vl_method_FlushToVar,
                &vl_method_RelinquishVar,
                &vl_error_NotSupportedByNamespaces);