summaryrefslogtreecommitdiff
path: root/rdoff/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'rdoff/hash.h')
-rw-r--r--rdoff/hash.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/rdoff/hash.h b/rdoff/hash.h
new file mode 100644
index 0000000..a6920e7
--- /dev/null
+++ b/rdoff/hash.h
@@ -0,0 +1,18 @@
+/* hash.h Routines to calculate a CRC32 hash value
+ *
+ * These routines donated to the NASM effort by Graeme Defty.
+ *
+ * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
+ * Julian Hall. All rights reserved. The software is
+ * redistributable under the license given in the file "LICENSE"
+ * distributed in the NASM archive.
+ */
+
+#ifndef RDOFF_HASH_H
+#define RDOFF_HASH_H 1
+
+#include <inttypes.h>
+
+uint32_t hash(const char *name);
+
+#endif