]>
Commit | Line | Data |
---|---|---|
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 | %} |
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 | %% | |
ca37242e | 21 | Journal.Storage, config_parse_storage, 0, offsetof(Server, storage) |
1b7cf0e5 | 22 | Journal.Compress, config_parse_compress, 0, offsetof(Server, compress) |
ca37242e | 23 | Journal.Seal, config_parse_bool, 0, offsetof(Server, seal) |
b2392ff3 | 24 | Journal.ReadKMsg, config_parse_bool, 0, offsetof(Server, read_kmsg) |
511e03a3 | 25 | Journal.Audit, config_parse_tristate, 0, offsetof(Server, set_audit) |
ca37242e | 26 | Journal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec) |
f0367da7 | 27 | # The following is a legacy name for compatibility |
5ac1530e ZJS |
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) | |
266a4700 FB |
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) | |
ca37242e LP |
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) | |
40b71e89 | 44 | Journal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall) |
ca37242e LP |
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) | |
40b71e89 | 50 | Journal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall) |
ca37242e | 51 | Journal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode) |
ec20fe5f | 52 | Journal.LineMax, config_parse_line_max, 0, offsetof(Server, line_max) |