]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-gperf.gperf
network: Use CMP() macro for comparison.
[thirdparty/systemd.git] / src / network / networkd-gperf.gperf
CommitLineData
413708d1 1%{
4831981d
SL
2#if __GNUC__ >= 7
3_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4#endif
413708d1
VK
5#include <stddef.h>
6#include "conf-parser.h"
7#include "networkd-conf.h"
23f53b99 8#include "networkd-manager.h"
413708d1
VK
9%}
10struct ConfigPerfItem;
11%null_strings
12%language=ANSI-C
13%define slot-name section_and_lvalue
14%define hash-function-name networkd_gperf_hash
15%define lookup-function-name networkd_gperf_lookup
16%readonly-tables
17%omit-struct-type
18%struct-type
19%includes
20%%
8341a5c3
ZJS
21DHCP.DUIDType, config_parse_duid_type, 0, offsetof(Manager, duid.type)
22DHCP.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Manager, duid)