stream_writer.h 396 Bytes
#ifndef __STREAM_WRITER_H__
#define __STREAM_WRITER_H__

#include <sys/types.h>

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

extern const struct interface i_StreamWriter;

struct i_StreamWriter {
	const struct interface * const _;
	fptr_streamWriterWrite         write;
};

extern ssize_t streamWriterWrite(void *, int fd);

#endif // __STREAM_WRITER_H__

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