From c18011259423f5d1cea7dfa67093c888c4882c1e Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sat, 14 Jan 2017 12:19:01 +0100 Subject: lib: Move CRC32 implementation to library The CRC32 implementation will be used to ID objects in the RIB. --- src/ipcpd/normal/crc32.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/ipcpd/normal/crc32.h (limited to 'src/ipcpd/normal/crc32.h') diff --git a/src/ipcpd/normal/crc32.h b/src/ipcpd/normal/crc32.h deleted file mode 100644 index 8580e553..00000000 --- a/src/ipcpd/normal/crc32.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Ouroboros - Copyright (C) 2016 - 2017 - * - * 32-bit Cyclic Redundancy Check - * - * Sander Vrijders - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * 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., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef OUROBOROS_IPCPD_NORMAL_CRC32_H -#define OUROBOROS_IPCPD_NORMAL_CRC32_H - -#include - -void crc32(uint32_t * crc, const uint8_t * buf, size_t len); - -#endif /* OUROBOROS_IPCPD_NORMAL_CRC32_H */ -- cgit v1.2.3