1cf200d32Sopenharmony_ci/* 2cf200d32Sopenharmony_ci * efone - Distributed internet phone system. 3cf200d32Sopenharmony_ci * 4cf200d32Sopenharmony_ci * (c) 1999,2000 Krzysztof Dabrowski 5cf200d32Sopenharmony_ci * (c) 1999,2000 ElysiuM deeZine 6cf200d32Sopenharmony_ci * 7cf200d32Sopenharmony_ci * This program is free software; you can redistribute it and/or 8cf200d32Sopenharmony_ci * modify it under the terms of the GNU General Public License 9cf200d32Sopenharmony_ci * as published by the Free Software Foundation; either version 10cf200d32Sopenharmony_ci * 2 of the License, or (at your option) any later version. 11cf200d32Sopenharmony_ci * 12cf200d32Sopenharmony_ci */ 13cf200d32Sopenharmony_ci 14cf200d32Sopenharmony_ci/* based on implementation by Finn Yannick Jacobs. */ 15cf200d32Sopenharmony_ci 16cf200d32Sopenharmony_ci#include <stdint.h> 17cf200d32Sopenharmony_ci 18cf200d32Sopenharmony_civoid chksum_crc32gentab (); 19cf200d32Sopenharmony_ciuint32_t chksum_crc32 (unsigned char *block, unsigned int length); 20cf200d32Sopenharmony_ciextern unsigned int crc_tab[256]; 21