~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to g10/filter.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2006-12-12 15:56:56 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20061212155656-kk00wp4x0uq4tm1y
Tags: upstream-1.4.6
ImportĀ upstreamĀ versionĀ 1.4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
} md_filter_context_t;
33
33
 
34
34
typedef struct {
 
35
    int refcount;           /* Reference counter.  If 0 this structure
 
36
                               is not allocated on the heap. */
 
37
 
35
38
    /* these fields may be initialized */
36
39
    int what;               /* what kind of armor headers to write */
37
40
    int only_keyblocks;     /* skip all headers but ".... key block" */
130
133
void free_md_filter_context( md_filter_context_t *mfx );
131
134
 
132
135
/*-- armor.c --*/
 
136
armor_filter_context_t *new_armor_context (void);
 
137
void release_armor_context (armor_filter_context_t *afx);
 
138
int push_armor_filter (armor_filter_context_t *afx, IOBUF iobuf);
133
139
int use_armor_filter( IOBUF a );
134
140
int armor_filter( void *opaque, int control,
135
141
                  IOBUF chain, byte *buf, size_t *ret_len);