]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/journal/journald-gperf.gperf
resolve: support port specifier in DNS= setting
[thirdparty/systemd.git] / src / journal / journald-gperf.gperf
1 %{
2 #if __GNUC__ >= 7
3 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4 #endif
5 #include <stddef.h>
6 #include <sys/socket.h>
7 #include "conf-parser.h"
8 #include "journald-server.h"
9 %}
10 struct 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 %%
21 Journal.Storage, config_parse_storage, 0, offsetof(Server, storage)
22 Journal.Compress, config_parse_compress, 0, offsetof(Server, compress)
23 Journal.Seal, config_parse_bool, 0, offsetof(Server, seal)
24 Journal.ReadKMsg, config_parse_bool, 0, offsetof(Server, read_kmsg)
25 Journal.Audit, config_parse_tristate, 0, offsetof(Server, set_audit)
26 Journal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec)
27 # The following is a legacy name for compatibility
28 Journal.RateLimitInterval, config_parse_sec, 0, offsetof(Server, ratelimit_interval)
29 Journal.RateLimitIntervalSec,config_parse_sec, 0, offsetof(Server, ratelimit_interval)
30 Journal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, ratelimit_burst)
31 Journal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use)
32 Journal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_size)
33 Journal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.keep_free)
34 Journal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_storage.metrics.n_max_files)
35 Journal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
36 Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_size)
37 Journal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.keep_free)
38 Journal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_storage.metrics.n_max_files)
39 Journal.MaxRetentionSec, config_parse_sec, 0, offsetof(Server, max_retention_usec)
40 Journal.MaxFileSec, config_parse_sec, 0, offsetof(Server, max_file_usec)
41 Journal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
42 Journal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
43 Journal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)
44 Journal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall)
45 Journal.TTYPath, config_parse_path, 0, offsetof(Server, tty_path)
46 Journal.MaxLevelStore, config_parse_log_level, 0, offsetof(Server, max_level_store)
47 Journal.MaxLevelSyslog, config_parse_log_level, 0, offsetof(Server, max_level_syslog)
48 Journal.MaxLevelKMsg, config_parse_log_level, 0, offsetof(Server, max_level_kmsg)
49 Journal.MaxLevelConsole, config_parse_log_level, 0, offsetof(Server, max_level_console)
50 Journal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall)
51 Journal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode)
52 Journal.LineMax, config_parse_line_max, 0, offsetof(Server, line_max)