'varlink-io.systemd.Resolve.c',
'varlink-io.systemd.UserDatabase.c',
'varlink-io.systemd.oom.c',
+ 'varlink-io.systemd.service.c',
'varlink-io.systemd.sysext.c',
'varlink-org.varlink.service.c',
'verb-log-control.c',
--- /dev/null
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include "varlink-io.systemd.service.h"
+
+static VARLINK_DEFINE_METHOD(Ping);
+
+static VARLINK_DEFINE_METHOD(Reload);
+
+static VARLINK_DEFINE_METHOD(
+ SetLogLevel,
+ VARLINK_DEFINE_INPUT(level, VARLINK_INT, 0));
+
+VARLINK_DEFINE_INTERFACE(
+ io_systemd_service,
+ "io.systemd.service",
+ &vl_method_Ping,
+ &vl_method_Reload,
+ &vl_method_SetLogLevel);
--- /dev/null
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#pragma once
+
+#include "varlink-idl.h"
+
+extern const VarlinkInterface vl_interface_io_systemd_service;
#include "varlink-io.systemd.Resolve.h"
#include "varlink-io.systemd.UserDatabase.h"
#include "varlink-io.systemd.oom.h"
+#include "varlink-io.systemd.service.h"
#include "varlink-io.systemd.sysext.h"
#include "varlink-org.varlink.service.h"
print_separator();
test_parse_format_one(&vl_interface_io_systemd_PCRExtend);
print_separator();
+ test_parse_format_one(&vl_interface_io_systemd_service);
+ print_separator();
test_parse_format_one(&vl_interface_io_systemd_sysext);
print_separator();
test_parse_format_one(&vl_interface_xyz_test);