/* SPDX-License-Identifier: LGPL-2.1-only */ /* Copyright (C) 2020-2021 Gediminas Jakutis */ #ifndef ALGOS_IO_H_INCLUDED #define ALGOS_IO_H_INCLUDED #include "defs.h" int stream_open(struct stream * const in); int stream_close(struct stream * const in); /* uncached blockmanip */ int stream_copy_range(struct stream * const restrict src, struct stream * const restrict dest); /* misc */ int stream_shallow_copy(struct stream const * const restrict src, struct stream * const dest); #endif /* ALGOS_IO_H_INCLUDED */