]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/journal/journald-gperf.gperf
Merge pull request #5164 from Werkov/ordering-for-_netdev-devices
[thirdparty/systemd.git] / src / journal / journald-gperf.gperf
1 %{
2 #include <stddef.h>
3 #include <sys/socket.h>
4 #include "conf-parser.h"
5 #include "journald-server.h"
6 %}
7 struct ConfigPerfItem;
8 %null_strings
9 %language=ANSI-C
10 %define slot-name section_and_lvalue
11 %define hash-function-name journald_gperf_hash
12 %define lookup-function-name journald_gperf_lookup
13 %readonly-tables
14 %omit-struct-type
15 %struct-type
16 %includes
17 %%
18 Journal.Storage, config_parse_storage, 0, offsetof(Server, storage)
19 Journal.Compress, config_parse_bool, 0, offsetof(Server, compress)
20 Journal.Seal, config_parse_bool, 0, offsetof(Server, seal)
21 Journal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec)
22 # The following is a legacy name for compatibility
23 Journal.RateLimitInterval, config_parse_sec, 0, offsetof(Server, rate_limit_interval)
24 Journal.RateLimitIntervalSec,config_parse_sec, 0, offsetof(Server, rate_limit_interval)
25 Journal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, rate_limit_burst)
26 Journal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use)
27 Journal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_size)
28 Journal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.keep_free)
29 Journal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_storage.metrics.n_max_files)
30 Journal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
31 Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_size)
32 Journal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.keep_free)
33 Journal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_storage.metrics.n_max_files)
34 Journal.MaxRetentionSec, config_parse_sec, 0, offsetof(Server, max_retention_usec)
35 Journal.MaxFileSec, config_parse_sec, 0, offsetof(Server, max_file_usec)
36 Journal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
37 Journal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
38 Journal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)
39 Journal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall)
40 Journal.TTYPath, config_parse_path, 0, offsetof(Server, tty_path)
41 Journal.MaxLevelStore, config_parse_log_level, 0, offsetof(Server, max_level_store)
42 Journal.MaxLevelSyslog, config_parse_log_level, 0, offsetof(Server, max_level_syslog)
43 Journal.MaxLevelKMsg, config_parse_log_level, 0, offsetof(Server, max_level_kmsg)
44 Journal.MaxLevelConsole, config_parse_log_level, 0, offsetof(Server, max_level_console)
45 Journal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall)
46 Journal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode)