]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/timesync/timesyncd-gperf.gperf
Merge pull request #12496 from yuwata/network-on-device-default-route
[thirdparty/systemd.git] / src / timesync / timesyncd-gperf.gperf
CommitLineData
e8af6973 1%{
4831981d
SL
2#if __GNUC__ >= 7
3_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4#endif
e8af6973
LP
5#include <stddef.h>
6#include "conf-parser.h"
84e51726 7#include "timesyncd-conf.h"
e8af6973
LP
8%}
9struct ConfigPerfItem;
10%null_strings
11%language=ANSI-C
12%define slot-name section_and_lvalue
f011fcfd 13%define hash-function-name timesyncd_gperf_hash
e8af6973
LP
14%define lookup-function-name timesyncd_gperf_lookup
15%readonly-tables
16%omit-struct-type
17%struct-type
18%includes
19%%
f907cc16
YW
20Time.NTP, config_parse_servers, SERVER_SYSTEM, 0
21Time.Servers, config_parse_servers, SERVER_SYSTEM, 0
22Time.FallbackNTP, config_parse_servers, SERVER_FALLBACK, 0
23Time.RootDistanceMaxSec, config_parse_sec, 0, offsetof(Manager, max_root_distance_usec)
a4465d0d
YW
24Time.PollIntervalMinSec, config_parse_sec, 0, offsetof(Manager, poll_interval_min_usec)
25Time.PollIntervalMaxSec, config_parse_sec, 0, offsetof(Manager, poll_interval_max_usec)