summaryrefslogtreecommitdiff
path: root/src/network/networkd-gperf.gperf
blob: 3ef4155476a64994f05cf563e02cd3a68ddf746a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%{
#include <stddef.h>
#include "conf-parser.h"
#include "networkd-conf.h"
%}
struct ConfigPerfItem;
%null_strings
%language=ANSI-C
%define slot-name section_and_lvalue
%define hash-function-name networkd_gperf_hash
%define lookup-function-name networkd_gperf_lookup
%readonly-tables
%omit-struct-type
%struct-type
%includes
%%
DUID.Type,           config_parse_dhcp_duid_type,            0,            offsetof(Manager, dhcp_duid_type)
DUID.RawData,        config_parse_dhcp_duid_raw,             0,            offsetof(Manager, dhcp_duid)