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

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

static VARLINK_DEFINE_METHOD(
                ReadEventLog,
                VARLINK_DEFINE_OUTPUT(record, VARLINK_OBJECT, 0));

static VARLINK_DEFINE_METHOD(
                MakePolicy,
                VARLINK_DEFINE_INPUT(force, VARLINK_BOOL, VARLINK_NULLABLE));

static VARLINK_DEFINE_METHOD(
                RemovePolicy);

static VARLINK_DEFINE_ERROR(
                NoChange);

VARLINK_DEFINE_INTERFACE(
                io_systemd_PCRLock,
                "io.systemd.PCRLock",
                &vl_method_ReadEventLog,
                &vl_method_MakePolicy,
                &vl_method_RemovePolicy,
                &vl_error_NoChange);