chiark / gitweb /
Incorporate sleep.conf into logind.conf
[elogind.git] / src / login / logind.h
index 5af01cb79a635fb8acf56e4e23743b02dd39d104..90c972df6c32f9201dbf296544d824fae0d7246c 100644 (file)
@@ -103,6 +103,10 @@ struct Manager {
 
         bool remove_ipc;
 
+        char **suspend_state, **suspend_mode;
+        char **hibernate_state, **hibernate_mode;
+        char **hybrid_sleep_state, **hybrid_sleep_mode;
+
         Hashmap *polkit_registry;
 
         usec_t holdoff_timeout_usec;
@@ -145,7 +149,7 @@ bool manager_is_docked_or_multiple_displays(Manager *m);
 extern const sd_bus_vtable manager_vtable[];
 
 int bus_manager_shutdown_or_sleep_now_or_later(Manager *m, HandleAction action, InhibitWhat w, sd_bus_error *error);
-int shutdown_or_sleep(HandleAction action);
+int shutdown_or_sleep(Manager *m, HandleAction action);
 
 int manager_send_changed(Manager *manager, const char *property, ...) _sentinel_;