aboutsummaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-23 11:00:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-10-24 15:57:18 +0200
commitee26abcab9faf037cf87438cca20d54e5b0edd05 (patch)
tree2880119327da17d5024b06a5e63808a295b41410 /include/io
parent6e7b20a41c8a7f10392884e1741b031b579a93fa (diff)
Cleanup: move xfrm stream wrappers to libxfrm
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/io')
-rw-r--r--include/io/xfrm.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/include/io/xfrm.h b/include/io/xfrm.h
deleted file mode 100644
index 21ffa57..0000000
--- a/include/io/xfrm.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-/*
- * xfrm.h
- *
- * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
- */
-#ifndef IO_XFRM_H
-#define IO_XFRM_H
-
-#include "sqfs/predef.h"
-#include "xfrm/stream.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @brief Create an input stream that transparently decodes data.
- *
- * @memberof sqfs_istream_t
- *
- * This function creates an input stream that wraps an underlying input stream
- * that is encoded/compressed and transparently decodes the data when reading
- * from it.
- *
- * @param strm A pointer to another stream that should be wrapped.
- * @param xfrm The transformation stream to use.
- *
- * @return A pointer to an input stream on success, NULL on failure.
- */
-SQFS_INTERNAL sqfs_istream_t *istream_xfrm_create(sqfs_istream_t *strm,
- xfrm_stream_t *xfrm);
-
-/**
- * @brief Create an output stream that transparently encodes data.
- *
- * @memberof sqfs_ostream_t
- *
- * This function creates an output stream that transparently encodes
- * (e.g. compresses) all data appended to it and writes it to an
- * underlying, wrapped output stream.
- *
- * @param strm A pointer to another stream that should be wrapped.
- * @param xfrm The transformation stream to use.
- *
- * @return A pointer to an output stream on success, NULL on failure.
- */
-SQFS_INTERNAL sqfs_ostream_t *ostream_xfrm_create(sqfs_ostream_t *strm,
- xfrm_stream_t *xfrm);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* IO_XFRM_H */