aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-11 03:29:51 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-11 03:29:51 +0000
commite7db54b927aa569e9f87d939379782d031c0baf0 (patch)
treec13aba16913815d06c438a7b5f5db172df5bc115 /wsutil
parent0329b9ef7181f14fd41d60eb5f106ab0dc59d73d (diff)
OK, one of them was already declared; we still want to declare the other
one. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39793 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wsutil')
-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,