/* DLIFE Copyright (C) 2000 Richard W.M. Jones * and other authors listed in the ``AUTHORS'' file. * * 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, USA. * * $Id: crc.h,v 1.1 2002/04/05 14:40:26 rich Exp $ */ #ifndef crc_h #define crc_h #include #include "types.h" typedef uint32_t crc_t; extern crc_t compute_crc32 (byte_t *p, size_t len); extern crc_t incr_compute_crc32 (crc_t old_crc, byte_t *p, size_t len); #endif /* crc_h */