aboutsummaryrefslogtreecommitdiffstats
path: root/g10/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/filter.h')
-rw-r--r--g10/filter.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/g10/filter.h b/g10/filter.h
index f0448f1bd..ebd58e370 100644
--- a/g10/filter.h
+++ b/g10/filter.h
@@ -80,10 +80,11 @@ typedef struct {
typedef struct {
- int eof;
- size_t idx;
- size_t len;
- byte buf[256];
+ byte *buffer; /* malloced buffer */
+ unsigned buffer_size; /* and size of this buffer */
+ unsigned buffer_len; /* used length of the buffer */
+ unsigned buffer_pos; /* read position */
+ int truncated; /* number of truncated lines */
} text_filter_context_t;