]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/journald-gperf.gperf
resolved: add enablers for DNS-SD
[thirdparty/systemd.git] / src / journal / journald-gperf.gperf
CommitLineData
e6960940 1%{
4831981d
SL
2#if __GNUC__ >= 7
3_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4#endif
e6960940 5#include <stddef.h>
4871690d 6#include <sys/socket.h>
e6960940 7#include "conf-parser.h"
d025f1e4 8#include "journald-server.h"
e6960940
LP
9%}
10struct ConfigPerfItem;
11%null_strings
12%language=ANSI-C
13%define slot-name section_and_lvalue
14%define hash-function-name journald_gperf_hash
15%define lookup-function-name journald_gperf_lookup
16%readonly-tables
17%omit-struct-type
18%struct-type
19%includes
20%%
ca37242e
LP
21Journal.Storage, config_parse_storage, 0, offsetof(Server, storage)
22Journal.Compress, config_parse_bool, 0, offsetof(Server, compress)
23Journal.Seal, config_parse_bool, 0, offsetof(Server, seal)
b2392ff3 24Journal.ReadKMsg, config_parse_bool, 0, offsetof(Server, read_kmsg)
ca37242e 25Journal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec)
f0367da7 26# The following is a legacy name for compatibility
ca37242e 27Journal.RateLimitInterval, config_parse_sec, 0, offsetof(Server, rate_limit_interval)
f0367da7 28Journal.RateLimitIntervalSec,config_parse_sec, 0, offsetof(Server, rate_limit_interval)
ca37242e 29Journal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, rate_limit_burst)
266a4700
FB
30Journal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use)
31Journal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_size)
32Journal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.keep_free)
33Journal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_storage.metrics.n_max_files)
34Journal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
35Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_size)
36Journal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.keep_free)
37Journal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_storage.metrics.n_max_files)
ca37242e
LP
38Journal.MaxRetentionSec, config_parse_sec, 0, offsetof(Server, max_retention_usec)
39Journal.MaxFileSec, config_parse_sec, 0, offsetof(Server, max_file_usec)
40Journal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
41Journal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
42Journal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)
40b71e89 43Journal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall)
ca37242e
LP
44Journal.TTYPath, config_parse_path, 0, offsetof(Server, tty_path)
45Journal.MaxLevelStore, config_parse_log_level, 0, offsetof(Server, max_level_store)
46Journal.MaxLevelSyslog, config_parse_log_level, 0, offsetof(Server, max_level_syslog)
47Journal.MaxLevelKMsg, config_parse_log_level, 0, offsetof(Server, max_level_kmsg)
48Journal.MaxLevelConsole, config_parse_log_level, 0, offsetof(Server, max_level_console)
40b71e89 49Journal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall)
ca37242e 50Journal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode)
ec20fe5f 51Journal.LineMax, config_parse_line_max, 0, offsetof(Server, line_max)