e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%{
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering#include <stddef.h>
4871690d9e32608bbd9b18505b5326c2079c9690Allin Cottrell#include <sys/socket.h>
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering#include "conf-parser.h"
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmek#include "journald-server.h"
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%}
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poetteringstruct ConfigPerfItem;
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%null_strings
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%language=ANSI-C
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%define slot-name section_and_lvalue
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%define hash-function-name journald_gperf_hash
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%define lookup-function-name journald_gperf_lookup
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%readonly-tables
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%omit-struct-type
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%struct-type
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%includes
e6960940b6dc5ab81eb2fca4061c333e1795f38dLennart Poettering%%
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.Storage, config_parse_storage, 0, offsetof(Server, storage)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.Compress, config_parse_bool, 0, offsetof(Server, compress)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.Seal, config_parse_bool, 0, offsetof(Server, seal)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.SyncIntervalSec, config_parse_sec, 0, offsetof(Server, sync_interval_usec)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.RateLimitInterval, config_parse_sec, 0, offsetof(Server, rate_limit_interval)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.RateLimitBurst, config_parse_unsigned, 0, offsetof(Server, rate_limit_burst)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.SystemMaxUse, config_parse_iec_uint64, 0, offsetof(Server, system_metrics.max_use)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.SystemMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, system_metrics.max_size)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.SystemKeepFree, config_parse_iec_uint64, 0, offsetof(Server, system_metrics.keep_free)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringJournal.SystemMaxFiles, config_parse_uint64, 0, offsetof(Server, system_metrics.n_max_files)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.RuntimeMaxUse, config_parse_iec_uint64, 0, offsetof(Server, runtime_metrics.max_use)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_metrics.max_size)
59f448cf15f94bc5ebfd5b254de6f2441d02fbecLennart PoetteringJournal.RuntimeKeepFree, config_parse_iec_uint64, 0, offsetof(Server, runtime_metrics.keep_free)
8580d1f73db36e9383e674e388b4fb55828c0c66Lennart PoetteringJournal.RuntimeMaxFiles, config_parse_uint64, 0, offsetof(Server, runtime_metrics.n_max_files)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxRetentionSec, config_parse_sec, 0, offsetof(Server, max_retention_usec)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxFileSec, config_parse_sec, 0, offsetof(Server, max_file_usec)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.ForwardToSyslog, config_parse_bool, 0, offsetof(Server, forward_to_syslog)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.ForwardToKMsg, config_parse_bool, 0, offsetof(Server, forward_to_kmsg)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.ForwardToConsole, config_parse_bool, 0, offsetof(Server, forward_to_console)
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian ThorarensenJournal.ForwardToWall, config_parse_bool, 0, offsetof(Server, forward_to_wall)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.TTYPath, config_parse_path, 0, offsetof(Server, tty_path)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxLevelStore, config_parse_log_level, 0, offsetof(Server, max_level_store)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxLevelSyslog, config_parse_log_level, 0, offsetof(Server, max_level_syslog)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxLevelKMsg, config_parse_log_level, 0, offsetof(Server, max_level_kmsg)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.MaxLevelConsole, config_parse_log_level, 0, offsetof(Server, max_level_console)
40b71e89bae4e51768db4dc50ec64c1e9c96eec4Sebastian ThorarensenJournal.MaxLevelWall, config_parse_log_level, 0, offsetof(Server, max_level_wall)
ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91Lennart PoetteringJournal.SplitMode, config_parse_split_mode, 0, offsetof(Server, split_mode)