diff options
author | Werner Koch <[email protected]> | 2006-12-06 09:52:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-12-06 09:52:40 +0000 |
commit | d8ff6704c8c19adc339bed224b5bd1ed3090673e (patch) | |
tree | 799ba7d809589433fc94273f0569c7d44b716ce0 /g10/filter.h | |
parent | Changing the way man pages are build. (diff) | |
download | gnupg-1.4.6.tar.gz gnupg-1.4.6.zip |
Preparing a releasegnupg-1.4.6
Diffstat (limited to 'g10/filter.h')
-rw-r--r-- | g10/filter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/filter.h b/g10/filter.h index bb06ecc6e..c9fe872d2 100644 --- a/g10/filter.h +++ b/g10/filter.h @@ -32,6 +32,9 @@ typedef struct { } md_filter_context_t; typedef struct { + int refcount; /* Reference counter. If 0 this structure + is not allocated on the heap. */ + /* these fields may be initialized */ int what; /* what kind of armor headers to write */ int only_keyblocks; /* skip all headers but ".... key block" */ @@ -130,6 +133,9 @@ int md_filter( void *opaque, int control, IOBUF a, byte *buf, size_t *ret_len); void free_md_filter_context( md_filter_context_t *mfx ); /*-- armor.c --*/ +armor_filter_context_t *new_armor_context (void); +void release_armor_context (armor_filter_context_t *afx); +int push_armor_filter (armor_filter_context_t *afx, IOBUF iobuf); int use_armor_filter( IOBUF a ); int armor_filter( void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len); |