]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/journal/journald-gperf.gperf
journald: add configuration file options to forward all logged data to kmsg, console...
[thirdparty/systemd.git] / src / journal / journald-gperf.gperf
CommitLineData
e6960940
LP
1%{
2#include <stddef.h>
3#include "conf-parser.h"
4#include "journald.h"
5%}
6struct ConfigPerfItem;
7%null_strings
8%language=ANSI-C
9%define slot-name section_and_lvalue
10%define hash-function-name journald_gperf_hash
11%define lookup-function-name journald_gperf_lookup
12%readonly-tables
13%omit-struct-type
14%struct-type
15%includes
16%%
17Journal.RateLimitInterval, config_parse_usec, 0, offsetof(Server, rate_limit_interval)
18Journal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, rate_limit_burst)
19Journal.Compress, config_parse_bool, 0, offsetof(Server, compress)
20Journal.SystemMaxUse, config_parse_bytes, 0, offsetof(Server, system_metrics.max_use)
21Journal.SystemMaxFileSize, config_parse_bytes, 0, offsetof(Server, system_metrics.max_size)
22Journal.SystemMinFileSize, config_parse_bytes, 0, offsetof(Server, system_metrics.min_size)
23Journal.SystemKeepFree, config_parse_bytes, 0, offsetof(Server, system_metrics.keep_free)
24Journal.RuntimeMaxUse, config_parse_bytes, 0, offsetof(Server, runtime_metrics.max_use)
25Journal.RuntimeMaxFileSize, config_parse_bytes, 0, offsetof(Server, runtime_metrics.max_size)
26Journal.RuntimeMinFileSize, config_parse_bytes, 0, offsetof(Server, runtime_metrics.min_size)
27Journal.RuntimeKeepFree, config_parse_bytes, 0, offsetof(Server, runtime_metrics.keep_free)
224f2ee2
LP
28Journal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
29Journal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
30Journal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)