chiark / gitweb /
check_tree.pl : Add handling of .gperf files.
[elogind.git] / src / login / logind-gperf.gperf
index c7f54b5f5df8e3e9f2af0543d337125b0221e888..a3c0861e52d0a6ab6a6d9f4bf90a2c8522d13e56 100644 (file)
@@ -14,6 +14,10 @@ struct ConfigPerfItem;
 %struct-type
 %includes
 %%
+#if 0 /// UNNEEDED by elogind
+# Login.NAutoVTs,                    config_parse_n_autovts,     0, offsetof(Manager, n_autovts)
+# Login.ReserveVT,                   config_parse_unsigned,      0, offsetof(Manager, reserve_vt)
+#endif // 0
 Login.KillUserProcesses,           config_parse_bool,          0, offsetof(Manager, kill_user_processes)
 Login.KillOnlyUsers,               config_parse_strv,          0, offsetof(Manager, kill_only_users)
 Login.KillExcludeUsers,            config_parse_strv,          0, offsetof(Manager, kill_exclude_users)
@@ -35,9 +39,11 @@ Login.RemoveIPC,                   config_parse_bool,          0, offsetof(Manag
 Login.InhibitorsMax,               config_parse_uint64,        0, offsetof(Manager, inhibitors_max)
 Login.SessionsMax,                 config_parse_uint64,        0, offsetof(Manager, sessions_max)
 Login.UserTasksMax,                config_parse_user_tasks_max,0, offsetof(Manager, user_tasks_max)
+#if 1 /// Additions for elogind
 Sleep.SuspendMode,                 config_parse_strv,          0, offsetof(Manager, suspend_mode)
 Sleep.SuspendState,                config_parse_strv,          0, offsetof(Manager, suspend_state)
 Sleep.HibernateMode,               config_parse_strv,          0, offsetof(Manager, hibernate_mode)
 Sleep.HibernateState,              config_parse_strv,          0, offsetof(Manager, hibernate_state)
 Sleep.HybridSleepMode,             config_parse_strv,          0, offsetof(Manager, hybrid_sleep_mode)
 Sleep.HybridSleepState,            config_parse_strv,          0, offsetof(Manager, hybrid_sleep_state)
+#endif // 1