summaryrefslogtreecommitdiff
path: root/wsutil/crc32.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-11 03:29:51 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-11 03:29:51 +0000
commite243b5f566d718e9ee59a03149046d6b629ac36b (patch)
treec13aba16913815d06c438a7b5f5db172df5bc115 /wsutil/crc32.h
parent845e927657d36dc8c6e5d8390e885e8aa1d13203 (diff)
downloadwireshark-e243b5f566d718e9ee59a03149046d6b629ac36b.tar.gz
OK, one of them was already declared; we still want to declare the other
one. svn path=/trunk/; revision=39793
Diffstat (limited to 'wsutil/crc32.h')
-rw-r--r--wsutil/crc32.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/wsutil/crc32.h b/wsutil/crc32.h
index d1ab2804eb..90dd59a7e3 100644
--- a/wsutil/crc32.h
+++ b/wsutil/crc32.h
@@ -45,6 +45,10 @@ extern "C" {
@param pos Position in the table. */
extern guint32 crc32_ccitt_table_lookup (guchar pos);
+/** Lookup the crc value in the crc32c_table
+ @param pos Position in the table. */
+extern guint32 crc32c_table_lookup (guchar pos);
+
/** Compute CRC32C checksum of a buffer of data.
@param buf The buffer containing the data.
@param len The number of bytes to include in the computation.
@@ -75,14 +79,6 @@ 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,
const size_t seed_len,