aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-11 03:28:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-11 03:28:10 +0000
commit0329b9ef7181f14fd41d60eb5f106ab0dc59d73d (patch)
tree178b16a6875cb23cf0dbc77b679e5eb5c2b58eed /wsutil
parent5521e6ce27c6369da420d93d52f64d1a1cc43ace (diff)
If we're exporting routines from crc32.c, declare them in crc32.h and
list them in libwsutil.def. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39792 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/crc32.h7
-rw-r--r--wsutil/libwsutil.def1
2 files changed, 8 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,
diff --git a/wsutil/libwsutil.def b/wsutil/libwsutil.def
index 540f44410b..4d811c098c 100644
--- a/wsutil/libwsutil.def
+++ b/wsutil/libwsutil.def
@@ -35,6 +35,7 @@ crc32_ccitt_seed
crc32_ccitt_table_lookup
crc32c_calculate
crc32c_calculate_no_swap
+crc32c_table_lookup
; crcdrm.c
crc_drm