diff options
-rw-r--r-- | wsutil/crc32.h | 7 | ||||
-rw-r--r-- | wsutil/libwsutil.def | 1 |
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 |