summaryrefslogtreecommitdiffstats
path: root/src/io.h
blob: efc3f94380d5eeaa8f411b8b8230c2e50953ed49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ALGOS_IO_H_INCLUDED
#define ALGOS_IO_H_INCLUDED

#include <stddef.h>

struct stream {
	size_t n;
	size_t stride;
	int fd;
	int out;
	char *name;
};

int openstream(struct stream *in);

#endif /* ALGOS_IO_H_INCLUDED */