If we're exporting routines from crc32.c, declare them in crc32.h and

list them in libwsutil.def.

svn path=/trunk/; revision=39792
This commit is contained in:
Guy Harris 2011-11-11 03:28:10 +00:00
parent 968f782d23
commit 845e927657
2 changed files with 8 additions and 0 deletions

View File

@ -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,

View File

@ -35,6 +35,7 @@ crc32_ccitt_seed
crc32_ccitt_table_lookup
crc32c_calculate
crc32c_calculate_no_swap
crc32c_table_lookup
; crcdrm.c
crc_drm