summaryrefslogtreecommitdiff
path: root/src/network/networkd-gperf.gperf
blob: 3fdfe7495548140065688d25b0584d87966b1ee1 (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
%%
DHCP.DUIDType,              config_parse_duid_type,                 0,          offsetof(Manager, duid.type)
DHCP.DUIDRawData,           config_parse_duid_rawdata,              0,          offsetof(Manager, duid)