diff options
Diffstat (limited to 'include/io')
-rw-r--r-- | include/io/mem.h | 24 | ||||
-rw-r--r-- | include/io/std.h | 42 |
2 files changed, 0 insertions, 66 deletions
diff --git a/include/io/mem.h b/include/io/mem.h deleted file mode 100644 index 20b04ab..0000000 --- a/include/io/mem.h +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * mem.h - * - * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at> - */ -#ifndef IO_MEM_STREAM_H -#define IO_MEM_STREAM_H - -#include "sqfs/predef.h" - -#ifdef __cplusplus -extern "C" { -#endif - -SQFS_INTERNAL -sqfs_istream_t *istream_memory_create(const char *name, size_t bufsz, - const void *data, size_t size); - -#ifdef __cplusplus -} -#endif - -#endif /* IO_MEM_STREAM_H */ diff --git a/include/io/std.h b/include/io/std.h deleted file mode 100644 index a9f436a..0000000 --- a/include/io/std.h +++ /dev/null @@ -1,42 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * std.h - * - * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at> - */ -#ifndef IO_STD_H -#define IO_STD_H - -#include "sqfs/io.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @brief Create an input stream that reads from standard input. - * - * @memberof sqfs_istream_t - * - * @param out Returns a pointer to an input stream on success. - * - * @return Zero on success, a negative @ref SQFS_ERROR number on failure - */ -SQFS_INTERNAL int istream_open_stdin(sqfs_istream_t **out); - -/** - * @brief Create an output stream that writes to standard output. - * - * @memberof sqfs_ostream_t - * - * @param out Returns a pointer to an output stream on success. - * - * @return Zero on success, a negative @ref SQFS_ERROR number on failure - */ -SQFS_INTERNAL int ostream_open_stdout(sqfs_ostream_t **out); - -#ifdef __cplusplus -} -#endif - -#endif /* IO_STD_H */ |