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

Annotation of /imapfilter/buffer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide 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 lefcha 1.1 #ifndef BUFFER_H
2     #define BUFFER_H
3    
4    
5 lefcha 1.2 #include <stdio.h>
6    
7    
8 lefcha 1.1 /* Size of temporary buffer. */
9 lefcha 1.3 #define BUFFER_SIZE 4096
10 lefcha 1.1
11    
12     /* Temporary buffer. */
13     typedef struct buffer {
14     char *data;
15     size_t size;
16     } buffer_t;
17    
18    
19     /* buffer.c */
20 lefcha 1.3 void buffer_init(buffer_t * buf);
21     void buffer_reset(buffer_t * buf);
22     void buffer_check(buffer_t * buf, size_t n);
23 lefcha 1.1
24    
25     #endif /* BUFFER_H */

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26