From ec4332f747425859f37641ecd249537efb338a90 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 20 Sep 2019 17:48:33 +0200 Subject: Move data_reader_dump function out of data reader This commit adds two new functions for getting a file block by index, or a files fragment. The data_reader_dump function is rewritten in terms of those two functions and moved to a seperate file. Signed-off-by: David Oberhollenzer --- include/sqfs/error.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sqfs/error.h') diff --git a/include/sqfs/error.h b/include/sqfs/error.h index 31ebb47..7277a3d 100644 --- a/include/sqfs/error.h +++ b/include/sqfs/error.h @@ -109,6 +109,8 @@ typedef enum { SQFS_ERROR_NO_ENTRY = -13, SQFS_ERROR_LINK_LOOP = -14, + + SQFS_ERROR_NOT_FILE = -15, } E_SQFS_ERROR; #endif /* SQFS_ERROR_H */ -- cgit v1.2.3