summaryrefslogtreecommitdiff
path: root/crc32.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2009-08-18 13:16:10 -0400
committersrs5694 <srs5694@users.sourceforge.net>2009-08-18 13:16:10 -0400
commite7b4ff9317fc4e551cf974684eaa88697de5a28d (patch)
tree5b5cc2b2fdce62960d03ad537f151df8c581902e /crc32.h
downloadsgdisk-e7b4ff9317fc4e551cf974684eaa88697de5a28d.tar.gz
Initial git repository creation, version 0.3.1 plus changes
Diffstat (limited to 'crc32.h')
-rw-r--r--crc32.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/crc32.h b/crc32.h
new file mode 100644
index 0000000..b1ca28b
--- /dev/null
+++ b/crc32.h
@@ -0,0 +1,20 @@
+/*
+ * efone - Distributed internet phone system.
+ *
+ * (c) 1999,2000 Krzysztof Dabrowski
+ * (c) 1999,2000 ElysiuM deeZine
+ *
+ * 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.
+ *
+ */
+
+/* based on implementation by Finn Yannick Jacobs. */
+
+#include <stdint.h>
+
+void chksum_crc32gentab ();
+uint32_t chksum_crc32 (unsigned char *block, unsigned int length);
+extern unsigned int crc_tab[256];