mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
In many cases we want to expose enums for which we have the usual xyz_to_string()/xyz_from_string() via Varlink as enums. Let's add some infra to test the tables against each other, to automatically detect when they deviate. In order to implement this properly, let's export/introduce clean json_underscorefy()/json_dashify(), for dealing with the fact that our enums usually use dash separates ames, but Varlink doesn't allow that. (This does not add the test cases for all enum types we expose right now, but only adds the general infra).
9 lines
228 B
C
9 lines
228 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "sd-varlink-idl.h"
|
|
|
|
extern const sd_varlink_symbol vl_type_PartitionDesignator;
|
|
|
|
extern const sd_varlink_interface vl_interface_io_systemd_MountFileSystem;
|