chiark / gitweb /
Handle suspend, shutdown, reboot, etc within elogind
[elogind.git] / src / login / logind-action.h
index ff98065371c5c996caf199eb19d67ade4cb72561..5269237c61566fcc6e0ff9c0f9f3a9080268c049 100644 (file)
@@ -44,6 +44,8 @@ int manager_handle_action(
                 bool ignore_inhibited,
                 bool is_edge);
 
+int shutdown_or_sleep(HandleAction action);
+
 const char* handle_action_to_string(HandleAction h) _const_;
 HandleAction handle_action_from_string(const char *s) _pure_;