diff options
Diffstat (limited to 'gr-digital/lib/digital_crc32.h')
-rw-r--r-- | gr-digital/lib/digital_crc32.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gr-digital/lib/digital_crc32.h b/gr-digital/lib/digital_crc32.h index 64aa12f7b..852d06f49 100644 --- a/gr-digital/lib/digital_crc32.h +++ b/gr-digital/lib/digital_crc32.h @@ -23,6 +23,7 @@ #ifndef INCLUDED_DIGITAL_CRC32_H #define INCLUDED_DIGITAL_CRC32_H +#include <digital_api.h> #include <string> #include <gr_types.h> @@ -35,16 +36,16 @@ * complement of the final running CRC. The resulting CRC should be * transmitted in big endian order. */ -unsigned int +DIGITAL_API unsigned int digital_update_crc32(unsigned int crc, const unsigned char *buf, size_t len); -unsigned int +DIGITAL_API unsigned int digital_update_crc32(unsigned int crc, const std::string buf); -unsigned int +DIGITAL_API unsigned int digital_crc32(const unsigned char *buf, size_t len); -unsigned int +DIGITAL_API unsigned int digital_crc32(const std::string buf); #endif /* INCLUDED_CRC32_H */ |