diff options
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_crc32.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/general/gr_crc32.h b/gnuradio-core/src/lib/general/gr_crc32.h index c5215b833..b0c746acf 100644 --- a/gnuradio-core/src/lib/general/gr_crc32.h +++ b/gnuradio-core/src/lib/general/gr_crc32.h @@ -34,10 +34,16 @@ * complement of the final running CRC. The resulting CRC should be * transmitted in big endian order. */ -unsigned int gr_update_crc32(unsigned int crc, const unsigned char *buf, int len); -unsigned int gr_update_crc32(unsigned int crc, const std::string buf); +unsigned int +gr_update_crc32(unsigned int crc, const unsigned char *buf, size_t len); -unsigned int gr_crc32(const unsigned char *buf, int len); -unsigned int gr_crc32(const std::string buf); +unsigned int +gr_update_crc32(unsigned int crc, const std::string buf); + +unsigned int +gr_crc32(const unsigned char *buf, size_t len); + +unsigned int +gr_crc32(const std::string buf); #endif /* INCLUDED_CRC32_H */ |