diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-06 17:02:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-06 17:02:11 +0200 |
commit | e8af69739a629708d2c155ebcd4fa57b8fd5006a (patch) | |
tree | 70a5b7e27eca1850db1dba950fb82db5214213c8 /src/timesync/timesyncd-gperf.gperf | |
parent | 16c058ba014e210fd8f6833a56787815c1059e1f (diff) |
timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item.
Diffstat (limited to 'src/timesync/timesyncd-gperf.gperf')
-rw-r--r-- | src/timesync/timesyncd-gperf.gperf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/timesync/timesyncd-gperf.gperf b/src/timesync/timesyncd-gperf.gperf new file mode 100644 index 0000000000..887dc68b50 --- /dev/null +++ b/src/timesync/timesyncd-gperf.gperf @@ -0,0 +1,17 @@ +%{ +#include <stddef.h> +#include "conf-parser.h" +#include "timesyncd.h" +%} +struct ConfigPerfItem; +%null_strings +%language=ANSI-C +%define slot-name section_and_lvalue +%define hash-function-name timesyncdd_gperf_hash +%define lookup-function-name timesyncd_gperf_lookup +%readonly-tables +%omit-struct-type +%struct-type +%includes +%% +Time.Servers, config_parse_servers, 0, 0 |