]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/journald-gperf.gperf
Merge pull request #16059 from keszybz/resolve-single-label-names
[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 21Journal.Storage, config_parse_storage, 0, offsetof(Server, storage)
1b7cf0e5 22Journal.Compress, config_parse_compress, 0, offsetof(Server, compress)
ca37242e 23Journal.Seal, config_parse_bool, 0, offsetof(Server, seal)
b2392ff3 24Journal.ReadKMsg, config_parse_bool, 0, offsetof(Server, read_kmsg)
511e03a3 25Journal.Audit, config_parse_tristate, 0, offsetof(Server, set_audit)
ca37242e 26Journal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec)
f0367da7 27# The following is a legacy name for compatibility
5ac1530e
ZJS
28Journal.RateLimitInterval, config_parse_sec, 0, offsetof(Server, ratelimit_interval)
29Journal.RateLimitIntervalSec,config_parse_sec, 0, offsetof(Server, ratelimit_interval)
30Journal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, ratelimit_burst)
266a4700
FB
31Journal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use)
32Journal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_size)
33Journal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.keep_free)
34Journal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_storage.metrics.n_max_files)
35Journal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
36Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_size)
37Journal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.keep_free)
38Journal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_storage.metrics.n_max_files)
ca37242e
LP
39Journal.MaxRetentionSec, config_parse_sec, 0, offsetof(Server, max_retention_usec)
40Journal.MaxFileSec, config_parse_sec, 0, offsetof(Server, max_file_usec)
41Journal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
42Journal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
43Journal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)
40b71e89 44Journal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall)
ca37242e
LP
45Journal.TTYPath, config_parse_path, 0, offsetof(Server, tty_path)
46Journal.MaxLevelStore, config_parse_log_level, 0, offsetof(Server, max_level_store)
47Journal.MaxLevelSyslog, config_parse_log_level, 0, offsetof(Server, max_level_syslog)
48Journal.MaxLevelKMsg, config_parse_log_level, 0, offsetof(Server, max_level_kmsg)
49Journal.MaxLevelConsole, config_parse_log_level, 0, offsetof(Server, max_level_console)
40b71e89 50Journal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall)
ca37242e 51Journal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode)
ec20fe5f 52Journal.LineMax, config_parse_line_max, 0, offsetof(Server, line_max)