stream_writer.h 394 Bytes
#ifndef __STREAM_WRITER_H__
#define __STREAM_WRITER_H__

#include <sys/types.h>

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

extern const struct interface i_StreamWriter;

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

extern size_t streamWriterWrite(void *, int fd);

#endif // __STREAM_WRITER_H__

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