summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 17:20:45 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 17:21:01 +0200
commit4d79f55f4a626a3cfd8bd18673aa29b48b16e137 (patch)
tree17c6bc1b1588e3d3e22c4cae793ddacb3c41fd9d /include
parentde4fc4b7e7b4302388cc1f778025f0843ef4ab24 (diff)
Cleanup: move the stdin sqfs_file_t wrapper out of libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/highlevel.h2
-rw-r--r--include/sqfs/io.h14
2 files changed, 2 insertions, 14 deletions
diff --git a/include/highlevel.h b/include/highlevel.h
index b2bbd82..ed0f4bf 100644
--- a/include/highlevel.h
+++ b/include/highlevel.h
@@ -83,4 +83,6 @@ int sqfs_data_reader_dump(sqfs_data_reader_t *data,
const sqfs_inode_generic_t *inode,
int outfd, size_t block_size, bool allow_sparse);
+sqfs_file_t *sqfs_get_stdin_file(uint64_t size);
+
#endif /* HIGHLEVEL_H */
diff --git a/include/sqfs/io.h b/include/sqfs/io.h
index f1a5ef0..d7a923c 100644
--- a/include/sqfs/io.h
+++ b/include/sqfs/io.h
@@ -157,20 +157,6 @@ extern "C" {
SQFS_API sqfs_file_t *sqfs_open_file(const char *filename, int flags);
/**
- * @brief Get a read-only file implementation that represents standard input
- *
- * This function creates a read-only file that represents STDIN. The file
- * supports reading up to a specified number of bytes and only allows
- * reading sequentially.
- *
- * @param size The alleged "size" of the file.
- *
- * @return A pointer to a file object on success, NULL on allocation failure.
- */
-SQFS_API sqfs_file_t *sqfs_get_stdin_file(uint64_t size);
-
-
-/**
* @brief Read a chunk from a file and turn it into a block that can be
* fed to a block processor.
*