chiark / gitweb /
swap: listen for POLLPRI events on /proc/swaps if available
[elogind.git] / src / swap.h
index 8a604169004e10d53dc6d6b83eeb727a20ae668f..c39caa6658ab1bd64056b6d3ace3e74dca6846d9 100644 (file)
@@ -103,6 +103,7 @@ int swap_add_one(Manager *m, const char *what, const char *what_proc_swaps, int
 int swap_add_one_mount_link(Swap *s, Mount *m);
 
 int swap_dispatch_reload(Manager *m);
+int swap_fd_event(Manager *m, int events);
 
 const char* swap_state_to_string(SwapState i);
 SwapState swap_state_from_string(const char *s);