summaryrefslogtreecommitdiff
path: root/src/swap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-18 23:09:09 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-18 23:09:09 +0200
commit4e4343146ade25b1ccfc927e2807d854be863ec4 (patch)
treee33d93110852b91bdf43732a538283c651346894 /src/swap.h
parent5a33f657b52f30a77fac41feb8854b563d77382e (diff)
swap: listen for POLLPRI events on /proc/swaps if available
Diffstat (limited to 'src/swap.h')
-rw-r--r--src/swap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swap.h b/src/swap.h
index 8a60416900..c39caa6658 100644
--- a/src/swap.h
+++ b/src/swap.h
@@ -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);