SS_PLAYLIST,
SS_SHA1,
SS_RBTREE,
+ SS_FSCK,
NUM_SS
};
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"), \
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 \
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 */