stream_reader.h 391 Bytes
#ifndef __STREAM_READER_H__
#define __STREAM_READER_H__

#include <sys/types.h>

typedef size_t (* fptr_streamReaderRead)(void *, int fd);

extern const struct interface i_StreamReader;

struct i_StreamReader {
	const struct interface * const _;
	fptr_streamReaderRead          read;
};

extern size_t streamReaderRead(void *, int fd);

#endif // __STREAM_READER_H__

// vim: set ts=4 sw=4: