chiark / gitweb /
journal: implement stdout transport
[elogind.git] / src / logind-gperf.gperf
1 %{
2 #include <stddef.h>
3 #include "conf-parser.h"
4 #include "logind.h"
5 %}
6 struct ConfigPerfItem;
7 %null_strings
8 %language=ANSI-C
9 %define slot-name section_and_lvalue
10 %define hash-function-name logind_gperf_hash
11 %define lookup-function-name logind_gperf_lookup
12 %readonly-tables
13 %omit-struct-type
14 %struct-type
15 %includes
16 %%
17 Login.NAutoVTs,          config_parse_unsigned, 0, offsetof(Manager, n_autovts)
18 Login.KillUserProcesses, config_parse_bool,     0, offsetof(Manager, kill_user_processes)
19 Login.KillOnlyUsers,     config_parse_strv,     0, offsetof(Manager, kill_only_users)
20 Login.KillExcludeUsers,  config_parse_strv,     0, offsetof(Manager, kill_exclude_users)
21 Login.Controllers,       config_parse_strv,     0, offsetof(Manager, controllers)
22 Login.ResetControllers,  config_parse_strv,     0, offsetof(Manager, reset_controllers)