/[imapfilter]/imapfilter/buffer.h
ViewVC logotype

Contents of /imapfilter/buffer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jul 31 15:46:02 2003 UTC (20 years, 8 months ago) by lefcha
Branch: MAIN
CVS Tags: release-0_9
Branch point for: release-0_9-patches
File MIME type: text/plain
Broke up program files and created some new header files.

1 #ifndef BUFFER_H
2 #define BUFFER_H
3
4
5 /* Size of temporary buffer. */
6 #define BUFFER_SIZE 4096
7
8
9 /* Temporary buffer. */
10 typedef struct buffer {
11 char *data;
12 size_t size;
13 } buffer_t;
14
15
16 /* buffer.c */
17 void init_buffer(buffer_t * buf);
18 void reset_buffer(buffer_t * buf);
19 void check_buffer(buffer_t * buf, size_t n);
20
21
22 #endif /* BUFFER_H */

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26