summaryrefslogtreecommitdiff
path: root/src/include/stream/read_bytes.h
blob: dd3ef040900f88d3b8b6b40711b298f409265a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef STREAM_READ_BYTES_H
#define STREAM_READ_BYTES_H

#include <stdint.h>

typedef long byte_offset_t;

extern int stream_init(void);
extern byte_offset_t stream_read(void *vdest, byte_offset_t count);
extern byte_offset_t stream_skip(byte_offset_t count);
extern void stream_fini(void);

#endif /* STREAM_READ_BYTES_H */