chiark / gitweb /
units: Remove the distro specific references to killall.service.
[elogind.git] / src / readahead-common.h
index c7fd713e1386744825360e4091b42b5be95358ab..7add62613f91e79681d9a988d4190548dbc331bc 100644 (file)
@@ -23,6 +23,9 @@
 ***/
 
 #include <sys/stat.h>
+#include <sys/types.h>
+
+#include "macro.h"
 
 #define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
 
@@ -32,4 +35,13 @@ int fs_on_ssd(const char *p);
 
 bool enough_ram(void);
 
+int open_inotify(void);
+
+typedef struct ReadaheadShared {
+        pid_t collect;
+        pid_t replay;
+} _packed_ ReadaheadShared;
+
+ReadaheadShared *shared_get(void);
+
 #endif