/src/ghostpdl/psi/zfmd5.c
Line | Count | Source (jump to first uncovered line) |
1 | | /* Copyright (C) 2001-2021 Artifex Software, Inc. |
2 | | All Rights Reserved. |
3 | | |
4 | | This software is provided AS-IS with no warranty, either express or |
5 | | implied. |
6 | | |
7 | | This software is distributed under license and may not be copied, |
8 | | modified or distributed except as expressly authorized under the terms |
9 | | of the license contained in the file LICENSE in this distribution. |
10 | | |
11 | | Refer to licensing information at http://www.artifex.com or contact |
12 | | Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, |
13 | | CA 94945, U.S.A., +1(415)492-9861, for further information. |
14 | | */ |
15 | | |
16 | | |
17 | | /* MD5Encode filter creation */ |
18 | | #include "memory_.h" |
19 | | #include "ghost.h" |
20 | | #include "oper.h" |
21 | | #include "gsstruct.h" |
22 | | #include "ialloc.h" |
23 | | #include "stream.h" |
24 | | #include "strimpl.h" |
25 | | #include "smd5.h" |
26 | | #include "ifilter.h" |
27 | | |
28 | | /* <source> MD5Encode/filter <file> */ |
29 | | /* <source> <dict> MD5Encode/filter <file> */ |
30 | | static int |
31 | | zMD5E(i_ctx_t *i_ctx_p) |
32 | 0 | { |
33 | 0 | return filter_write_simple(i_ctx_p, &s_MD5E_template); |
34 | 0 | } |
35 | | |
36 | | /* ------ Initialization procedure ------ */ |
37 | | |
38 | | const op_def zfmd5_op_defs[] = |
39 | | { |
40 | | op_def_begin_filter(), |
41 | | {"1MD5Encode", zMD5E}, |
42 | | op_def_end(0) |
43 | | }; |