Parent Directory
|
Revision Log
|
Patch
revision 101 by siliconforks, Wed May 7 04:21:22 2008 UTC | revision 102 by siliconforks, Sat May 31 07:07:27 2008 UTC | |
---|---|---|
# | Line 21 | Line 21 |
21 | #define STREAM_H_ | #define STREAM_H_ |
22 | ||
23 | #include <stdio.h> | #include <stdio.h> |
24 | #include <stdint.h> | |
25 | #include <stdlib.h> | #include <stdlib.h> |
26 | ||
27 | typedef struct Stream { | typedef struct Stream { |
28 | void * data; | uint8_t * data; |
29 | size_t length; | size_t length; |
30 | size_t capacity; | size_t capacity; |
31 | } Stream; | } Stream; |
# | Line 41 | Line 42 |
42 | ||
43 | void Stream_write_file_contents(Stream * stream, FILE * f); | void Stream_write_file_contents(Stream * stream, FILE * f); |
44 | ||
45 | void Stream_reset(Stream * stream); | |
46 | ||
47 | void Stream_delete(Stream * stream); | void Stream_delete(Stream * stream); |
48 | ||
49 | #endif /* STREAM_H_ */ | #endif /* STREAM_H_ */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.24 |