chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: make bus_map_all_properties return a proper sd_bus_error
[elogind.git]
/
src
/
login
/
logind-action.h
diff --git
a/src/login/logind-action.h
b/src/login/logind-action.h
index 33c302112e2e6834f41f357d5fc947cae27b8238..d33b9de44d088e8381cdc0ad38c1694fd5145785 100644
(file)
--- a/
src/login/logind-action.h
+++ b/
src/login/logind-action.h
@@
-36,6
+36,9
@@
typedef enum HandleAction {
#include "logind-inhibit.h"
#include "logind.h"
#include "logind-inhibit.h"
#include "logind.h"
+/// Additional includes needed by elogind
+#include "elogind-action.h"
+
int manager_handle_action(
Manager *m,
InhibitWhat inhibit_key,
int manager_handle_action(
Manager *m,
InhibitWhat inhibit_key,
@@
-43,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_;