You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
391 B
19 lines
391 B
#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:
|