summaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: 8435ccf7d956c92207c4dca010309007699deeb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: LGPL-2.1-only */

/* Copyright (C) 2021 Gediminas Jakutis */

#ifndef ALGOS_UTIL_H_INCLUDED
#define ALGOS_UTIL_H_INCLUDED

#include "defs.h"

int stream_rewind(struct stream * const restrict in);
int stream_skip(struct stream * const restrict in);
int split(struct stream * const src, struct stream * const A, struct stream * const B);
int print_data(struct stream * const in);

#endif /* ALGOS_UTIL_H_INCLUDED */