summaryrefslogtreecommitdiffstats
path: root/src/io.h
blob: 79216f2347fe625a0b2744ad26b7b34e547157bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 stream_open(struct stream *in);
int stream_close(struct stream *in);

#endif /* ALGOS_IO_H_INCLUDED */