1/* SPDX-License-Identifier: LGPL-2.1-or-later */ 2%{ 3#if __GNUC__ >= 7 4_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") 5#endif 6#include <stddef.h> 7#include "conf-parser.h" 8#include "timesyncd-conf.h" 9%} 10struct ConfigPerfItem; 11%null_strings 12%language=ANSI-C 13%define slot-name section_and_lvalue 14%define hash-function-name timesyncd_gperf_hash 15%define lookup-function-name timesyncd_gperf_lookup 16%readonly-tables 17%omit-struct-type 18%struct-type 19%includes 20%% 21Time.NTP, config_parse_servers, SERVER_SYSTEM, 0 22Time.Servers, config_parse_servers, SERVER_SYSTEM, 0 23Time.FallbackNTP, config_parse_servers, SERVER_FALLBACK, 0 24Time.RootDistanceMaxSec, config_parse_sec, 0, offsetof(Manager, root_distance_max_usec) 25Time.PollIntervalMinSec, config_parse_sec, 0, offsetof(Manager, poll_interval_min_usec) 26Time.PollIntervalMaxSec, config_parse_sec, 0, offsetof(Manager, poll_interval_max_usec) 27Time.ConnectionRetrySec, config_parse_sec, 0, offsetof(Manager, connection_retry_usec) 28Time.SaveIntervalSec, config_parse_sec, 0, offsetof(Manager, save_time_interval_usec) 29