Systemd/src/timesync/timesyncd-gperf.gperf
Lennart Poettering e8af69739a timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item.
2014-05-06 17:02:11 +02:00

18 lines
392 B
Plaintext

%{
#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