--- trunk/stream.h 2008/05/24 18:11:30 101 +++ trunk/stream.h 2008/05/31 07:07:27 102 @@ -21,10 +21,11 @@ #define STREAM_H_ #include +#include #include typedef struct Stream { - void * data; + uint8_t * data; size_t length; size_t capacity; } Stream; @@ -41,6 +42,8 @@ void Stream_write_file_contents(Stream * stream, FILE * f); +void Stream_reset(Stream * stream); + void Stream_delete(Stream * stream); #endif /* STREAM_H_ */