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

Contents of /imapfilter/buffer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Fri Feb 13 12:17:15 2004 UTC (16 years, 9 months ago) by lefcha
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -4 lines
File MIME type: text/plain
Stylistic changes.

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 buffer_init(buffer_t * buf);
21 void buffer_reset(buffer_t * buf);
22 void buffer_check(buffer_t * buf, size_t n);
23
24
25 #endif /* BUFFER_H */

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26