From fa66e0d92d1441ab95d720728f1fb54177d5edd5 Mon Sep 17 00:00:00 2001
From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Date: Thu, 26 Sep 2019 18:57:50 +0200
Subject: Remove the create I/O block from sqfs_file_t function

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
---
 include/sqfs/io.h | 19 -------------------
 1 file changed, 19 deletions(-)

(limited to 'include/sqfs')

diff --git a/include/sqfs/io.h b/include/sqfs/io.h
index 5c1bfd5..0f980d6 100644
--- a/include/sqfs/io.h
+++ b/include/sqfs/io.h
@@ -142,25 +142,6 @@ extern "C" {
  */
 SQFS_API sqfs_file_t *sqfs_open_file(const char *filename, int flags);
 
-/**
- * @brief Read a chunk from a file and turn it into a block that can be
- *        fed to a block processor.
- *
- * @member sqfs_file_t
- *
- * @param file A pointer to a file implementation.
- * @param offset A byte offset into the file.
- * @param size The number of bytes to read, starting at the given offset.
- * @param inode The inode pointer to set for the block.
- * @param flags The flags to store in the newly created block.
- * @param out Returns a pointer to a block on success.
- *
- * @return Zero on success, an @ref E_SQFS_ERROR identifier on failure.
- */
-SQFS_API int sqfs_file_create_block(sqfs_file_t *file, uint64_t offset,
-				    size_t size, sqfs_inode_generic_t *inode,
-				    uint32_t flags, sqfs_block_t **out);
-
 #ifdef __cplusplus
 }
 #endif
-- 
cgit v1.2.3