Whamcloud - gitweb
Add install-strip and install-shlibs-strip targets
[tools/e2fsprogs.git] / misc / fsck.h
index 3efd954..55cb525 100644 (file)
@@ -2,6 +2,8 @@
  * fsck.h
  */
 
+#include <time.h>
+
 #ifdef __STDC__
 #define NOARGS void
 #else
@@ -9,6 +11,13 @@
 #define const
 #endif
 
+#ifdef __GNUC__
+#define FSCK_ATTR(x) __attribute__(x)
+#else
+#define FSCK_ATTR(x)
+#endif
+
+
 #ifndef DEFAULT_FSTYPE
 #define DEFAULT_FSTYPE "ext2"
 #endif
@@ -49,11 +58,13 @@ struct fsck_instance {
        int     pid;
        int     flags;
        int     exit_status;
+       time_t  start_time;
        char *  prog;
        char *  type;
        char *  device;
+       char *  base_device;
        struct fsck_instance *next;
 };
 
-
-
+extern char *base_device(const char *device);
+extern const char *identify_fs(const char *fs_name, const char *fs_types);