chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index f6a4c1ea6c8c199d53d70a3d9b9999777cd78e76..f726263dd329712012050c3884701779043aad6c 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-529,6
+529,7
@@
int setrlimit_closest(int resource, const struct rlimit *rlim);
int getenv_for_pid(pid_t pid, const char *field, char **_value);
int can_sleep(const char *type);
int getenv_for_pid(pid_t pid, const char *field, char **_value);
int can_sleep(const char *type);
+int can_sleep_disk(const char *type);
bool is_valid_documentation_url(const char *url);
bool is_valid_documentation_url(const char *url);