Server 0.0.1
HTTP/REST server implementation

include/stream/interface/reader.h

Go to the documentation of this file.
00001 
00025 #ifndef __STREAM_INTERFACE_READER_H__
00026 #define __STREAM_INTERFACE_READER_H__
00027 
00028 #include <sys/types.h>
00029 
00030 #include "stream/stream.h"
00031 
00032 typedef ssize_t (* fptr_streamReaderRead)(void *, Stream);
00033 
00034 extern const struct interface i_StreamReader;
00035 
00036 struct i_StreamReader {
00037         const struct interface * const _;
00038         fptr_streamReaderRead          read;
00039 };
00040 
00041 extern ssize_t streamReaderRead(void *, Stream);
00042 
00043 #endif // __STREAM_INTERFACE_READER_H__
00044 
00045 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines