chiark / gitweb /
units: set TERM for gettys again, since they acquire a TTY on their own
[elogind.git] / src / readahead-common.h
index 3f64f290a927303adf0ec545655c3e44ee52b257..964ca1f2fa976dbb705b8b75a0c1a1273f45ba24 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)
 
@@ -34,4 +37,13 @@ bool enough_ram(void);
 
 int open_inotify(void);
 
+typedef struct ReadaheadShared {
+        pid_t collect;
+        pid_t replay;
+} _packed_ ReadaheadShared;
+
+ReadaheadShared *shared_get(void);
+
+int bump_request_nr(const char *p);
+
 #endif