chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v231.2: Do not set a wall message when suspending (none there anyway)
[elogind.git]
/
src
/
login
/
logind-action.h
diff --git
a/src/login/logind-action.h
b/src/login/logind-action.h
index 2fcad0397d6ca8a81c264f501041ebb167a1e8e7..d33b9de44d088e8381cdc0ad38c1694fd5145785 100644
(file)
--- a/
src/login/logind-action.h
+++ b/
src/login/logind-action.h
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
#pragma once
/***
@@
-35,8
+33,11
@@
typedef enum HandleAction {
_HANDLE_ACTION_INVALID = -1
} HandleAction;
_HANDLE_ACTION_INVALID = -1
} HandleAction;
-#include "logind.h"
#include "logind-inhibit.h"
#include "logind-inhibit.h"
+#include "logind.h"
+
+/// Additional includes needed by elogind
+#include "elogind-action.h"
int manager_handle_action(
Manager *m,
int manager_handle_action(
Manager *m,
@@
-45,8
+46,6
@@
int manager_handle_action(
bool ignore_inhibited,
bool is_edge);
bool ignore_inhibited,
bool is_edge);
-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_;
const char* handle_action_to_string(HandleAction h) _const_;
HandleAction handle_action_from_string(const char *s) _pure_;