]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
Remove unused -E_LSTAT.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index ee8cff348820fccf584d34f9e1e19a62c08a8ac7..e9083f75f42eb743f5416faa4d30aea864a314dd 100644 (file)
--- a/error.h
+++ b/error.h
@@ -74,6 +74,7 @@ enum para_subsystem {
        SS_PLAYLIST,
        SS_SHA1,
        SS_RBTREE,
+       SS_FSCK,
        NUM_SS
 };
 
@@ -94,6 +95,12 @@ enum para_subsystem {
 extern const char **para_errlist[];
 /** \endcond */
 
+#define FSCK_ERRORS \
+       PARA_ERROR(FSCK_SYNTAX, "fsck syntax error"), \
+       PARA_ERROR(RANGE_VIOLATION, "range violation detected, very bad"), \
+       PARA_ERROR(NOT_A_REGULAR_FILE, "not a regular file"), \
+
+
 #define OSL_ERRORS \
        PARA_ERROR(OSL_OPENDIR, "can not open directory"), \
        PARA_ERROR(OSL_CHDIR, "failed to change directory"), \
@@ -149,7 +156,6 @@ extern const char **para_errlist[];
        PARA_ERROR(RBTREE_EMPTY, "rbtree is empty"), \
        PARA_ERROR(BAD_ROW, "invalid row"), \
        PARA_ERROR(OSL_GETCWD, "can not get current working directory"), \
-       PARA_ERROR(OSL_LSTAT, "lstat error"), \
 
 
 #define RBTREE_ERRORS \
@@ -686,6 +692,7 @@ SS_ENUM(BLOB);
 SS_ENUM(PLAYLIST);
 SS_ENUM(SHA1);
 SS_ENUM(RBTREE);
+SS_ENUM(FSCK);
 /** \endcond */
 #undef PARA_ERROR
 /* rest of the world only sees the error text */