Parent Directory
|
Revision Log
|
Patch
revision 92 by siliconforks, Wed May 7 04:21:22 2008 UTC | revision 399 by siliconforks, Tue Dec 9 03:37:47 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 | #ifdef __cplusplus | |
28 | extern "C" { | |
29 | #endif | |
30 | ||
31 | typedef struct Stream { | typedef struct Stream { |
32 | void * data; | uint8_t * data; |
33 | size_t length; | size_t length; |
34 | size_t capacity; | size_t capacity; |
35 | } Stream; | } Stream; |
# | Line 41 | Line 46 |
46 | ||
47 | void Stream_write_file_contents(Stream * stream, FILE * f); | void Stream_write_file_contents(Stream * stream, FILE * f); |
48 | ||
49 | void Stream_reset(Stream * stream); | |
50 | ||
51 | void Stream_delete(Stream * stream); | void Stream_delete(Stream * stream); |
52 | ||
53 | #ifdef __cplusplus | |
54 | } | |
55 | #endif | |
56 | ||
57 | #endif /* STREAM_H_ */ | #endif /* STREAM_H_ */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.24 |