***/
typedef enum HandleAction {
- HANDLE_IGNORE,
+ HANDLE_IGNORE = 0,
HANDLE_POWEROFF,
HANDLE_REBOOT,
HANDLE_HALT,
bool ignore_inhibited,
bool is_edge);
-int shutdown_or_sleep(HandleAction action);
+int shutdown_or_sleep(Manager *m, HandleAction action);
const char* handle_action_to_string(HandleAction h) _const_;
HandleAction handle_action_from_string(const char *s) _pure_;