summaryrefslogtreecommitdiffstats
path: root/include/swapprober.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/swapprober.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/swapprober.h b/include/swapprober.h
new file mode 100644
index 0000000..5107700
--- /dev/null
+++ b/include/swapprober.h
@@ -0,0 +1,9 @@
+#ifndef UTIL_LINUX_SWAP_PROBER_H
+#define UTIL_LINUX_SWAP_PROBER_H
+
+#include <blkid.h>
+
+blkid_probe get_swap_prober(const char *devname);
+
+#endif /* UTIL_LINUX_SWAP_PROBER_H */
+