1 /* filters.h - Filter structs
2 * Copyright (C) 2002, 2003, 2008, 2010 Free Software Foundation, Inc.
6 * This file is part of OpenCDK.
8 * The OpenCDK library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
58 const char *le; /* line endings */
67 cdk_lit_format_t mode;
68 char *orig_filename; /* This original name of the input file. */
85 int algo; /* compress algo */
96 int _cdk_filter_armor (void *opaque, int ctl, FILE * in, FILE * out);
99 cdk_error_t _cdk_filter_hash (void *opaque, int ctl, FILE * in, FILE * out);
100 cdk_error_t _cdk_filter_cipher (void *opaque, int ctl, FILE * in, FILE * out);
103 int _cdk_filter_literal (void *opaque, int ctl, FILE * in, FILE * out);
104 int _cdk_filter_text (void *opaque, int ctl, FILE * in, FILE * out);
107 cdk_error_t _cdk_filter_compress (void *opaque, int ctl,
108 FILE * in, FILE * out);
110 #endif /* CDK_FILTERS_H */