diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-01 22:05:23 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-04 18:55:15 +0100 |
commit | bf6e9b383d6907c8c02fdd493cf529a83cdacd8b (patch) | |
tree | 883592d8bc30c15bf76ada0d7dcb24b94cea3801 /src/network/networkd-util.h | |
parent | network/json: add missing entries for route properties (diff) | |
download | systemd-bf6e9b383d6907c8c02fdd493cf529a83cdacd8b.tar.xz systemd-bf6e9b383d6907c8c02fdd493cf529a83cdacd8b.zip |
network: introduce network_config_source_from_string()
It is currently unused, but will be used later.
Preparation for later commits.
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-util.h b/src/network/networkd-util.h index 3d31bcfb19..b424092ef6 100644 --- a/src/network/networkd-util.h +++ b/src/network/networkd-util.h @@ -56,6 +56,7 @@ CONFIG_PARSER_PROTOTYPE(config_parse_ip_masquerade); CONFIG_PARSER_PROTOTYPE(config_parse_mud_url); const char* network_config_source_to_string(NetworkConfigSource s) _const_; +NetworkConfigSource network_config_source_from_string(const char* s) _pure_; int network_config_state_to_string_alloc(NetworkConfigState s, char **ret); |