]>
Commit | Line | Data |
---|---|---|
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 | %} |
9 | struct 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 |
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) | |
a4465d0d YW |
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) |