]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/timesync/timesyncd-gperf.gperf
util: make device_wait_for_initialization() optionally takes timeout value
[thirdparty/systemd.git] / src / timesync / timesyncd-gperf.gperf
1 %{
2 #if __GNUC__ >= 7
3 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4 #endif
5 #include <stddef.h>
6 #include "conf-parser.h"
7 #include "timesyncd-conf.h"
8 %}
9 struct ConfigPerfItem;
10 %null_strings
11 %language=ANSI-C
12 %define slot-name section_and_lvalue
13 %define hash-function-name timesyncd_gperf_hash
14 %define lookup-function-name timesyncd_gperf_lookup
15 %readonly-tables
16 %omit-struct-type
17 %struct-type
18 %includes
19 %%
20 Time.NTP, config_parse_servers, SERVER_SYSTEM, 0
21 Time.Servers, config_parse_servers, SERVER_SYSTEM, 0
22 Time.FallbackNTP, config_parse_servers, SERVER_FALLBACK, 0
23 Time.RootDistanceMaxSec, config_parse_sec, 0, offsetof(Manager, max_root_distance_usec)
24 Time.PollIntervalMinSec, config_parse_sec, 0, offsetof(Manager, poll_interval_min_usec)
25 Time.PollIntervalMaxSec, config_parse_sec, 0, offsetof(Manager, poll_interval_max_usec)