From df8767fc8d8824ffc0a6858de7647b3cc8ee5fa0 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 6 Jan 2024 05:08:40 +0900 Subject: network/route: move several conf parsers to networkd-route-metric.c and networkd-route-nexthop.c This also split config_parse_route_boolean() into two: for GatewayOnline= and boolean route metrics. No functional change, just refactoring and preparation for later commits. --- src/network/networkd-route-nexthop.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/network/networkd-route-nexthop.h (limited to 'src/network/networkd-route-nexthop.h') diff --git a/src/network/networkd-route-nexthop.h b/src/network/networkd-route-nexthop.h new file mode 100644 index 0000000000..ae07696e5a --- /dev/null +++ b/src/network/networkd-route-nexthop.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +#include "conf-parser.h" + +CONFIG_PARSER_PROTOTYPE(config_parse_route_nexthop); +CONFIG_PARSER_PROTOTYPE(config_parse_multipath_route); -- cgit v1.2.3