chiark / gitweb /
logind: implement suspend/hibernate calls with inhibition logic
[elogind.git] / src / shared / util.h
index 59a69a898a3b47281de7e4a7d631a7a41b40c0c6..272ab48651119b6a6e6db13b3f86a567130752cd 100644 (file)
@@ -505,4 +505,6 @@ 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);
+
 #endif