/* Copyright (C) 2000 artofcode LLC. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307. */ /*$Id: zfmd5.c,v 1.2.6.1.2.1 2003/01/17 00:49:06 giles Exp $ */ /* MD5Encode filter creation */ #include "memory_.h" #include "ghost.h" #include "oper.h" #include "gsstruct.h" #include "ialloc.h" #include "stream.h" #include "strimpl.h" #include "smd5.h" #include "ifilter.h" /* MD5Encode/filter */ /* MD5Encode/filter */ private int zMD5E(i_ctx_t *i_ctx_p) { return filter_write_simple(i_ctx_p, &s_MD5E_template); } /* ------ Initialization procedure ------ */ const op_def zfmd5_op_defs[] = { op_def_begin_filter(), {"1MD5Encode", zMD5E}, op_def_end(0) };