summaryrefslogtreecommitdiff
path: root/wsutil/crc32.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-11 03:28:10 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-11 03:28:10 +0000
commit845e927657d36dc8c6e5d8390e885e8aa1d13203 (patch)
tree178b16a6875cb23cf0dbc77b679e5eb5c2b58eed /wsutil/crc32.h
parent968f782d235af23443d2df4522e40a93390b6276 (diff)
downloadwireshark-845e927657d36dc8c6e5d8390e885e8aa1d13203.tar.gz
If we're exporting routines from crc32.c, declare them in crc32.h and
list them in libwsutil.def. svn path=/trunk/; revision=39792
Diffstat (limited to 'wsutil/crc32.h')
-rw-r--r--wsutil/crc32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wsutil/crc32.h b/wsutil/crc32.h
index bb998d1c6e..d1ab2804eb 100644
--- a/wsutil/crc32.h
+++ b/wsutil/crc32.h
@@ -75,6 +75,13 @@ extern guint32 crc32_ccitt(const guint8 *buf, guint len);
@return The CRC32 CCITT checksum (using the given seed). */
extern guint32 crc32_ccitt_seed(const guint8 *buf, guint len, guint32 seed);
+/*
+ * I guess somebody's plugin must be using these; nothing in Wireshark
+ * does, but they're in crc32.c, and crc32_ccitt_table_lookup() is
+ * in the .def file....
+ */
+extern guint32 crc32c_table_lookup (guchar pos);
+extern guint32 crc32_ccitt_table_lookup (guchar pos);
int AirPDcapWepDecrypt(
const guchar *seed,