stream_reader.h 393 Bytes
#ifndef __STREAM_READER_H__
#define __STREAM_READER_H__

#include <sys/types.h>

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

extern const struct interface i_StreamReader;

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

extern ssize_t streamReaderRead(void *, int fd);

#endif // __STREAM_READER_H__

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