1 /* filters.h - Filter structs
2 * Copyright (C) 2002-2012 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 3 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 License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>
57 const char *le
; /* line endings */
66 cdk_lit_format_t mode
;
67 char *orig_filename
; /* This original name of the input file. */
84 int algo
; /* compress algo */
95 int _cdk_filter_armor (void *uint8_t, int ctl
, FILE * in
, FILE * out
);
98 cdk_error_t
_cdk_filter_hash (void *uint8_t, int ctl
, FILE * in
, FILE * out
);
99 cdk_error_t
_cdk_filter_cipher (void *uint8_t, int ctl
, FILE * in
, FILE * out
);
102 int _cdk_filter_literal (void *uint8_t, int ctl
, FILE * in
, FILE * out
);
103 int _cdk_filter_text (void *uint8_t, int ctl
, FILE * in
, FILE * out
);
106 cdk_error_t
_cdk_filter_compress (void *uint8_t, int ctl
,
107 FILE * in
, FILE * out
);
109 #endif /* CDK_FILTERS_H */