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

Contents of /imapfilter/buffer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.2.1 - (show annotations)
Fri Aug 8 00:28:03 2003 UTC (20 years, 7 months ago) by lefcha
Branch: release-0_9-patches
Changes since 1.1: +3 -0 lines
File MIME type: text/plain
Corrected headers includes.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26