summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_crc32.h
diff options
context:
space:
mode:
authorJosh Blum2011-07-20 18:38:36 -0700
committerJosh Blum2011-07-20 18:38:36 -0700
commitf914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5 (patch)
tree14287905b65ded74112b7baaf4ed5cd4bfe028d9 /gnuradio-core/src/lib/general/gr_crc32.h
parent1e1798393381fe7472a7cdb5b2c3c90d7ae753fb (diff)
downloadgnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.gz
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.bz2
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.zip
core: API declaration macros for core class and function symbols
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_crc32.h')
-rw-r--r--gnuradio-core/src/lib/general/gr_crc32.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnuradio-core/src/lib/general/gr_crc32.h b/gnuradio-core/src/lib/general/gr_crc32.h
index 87a8d15f2..b59bf9cdc 100644
--- a/gnuradio-core/src/lib/general/gr_crc32.h
+++ b/gnuradio-core/src/lib/general/gr_crc32.h
@@ -23,6 +23,7 @@
#ifndef INCLUDED_GR_CRC32_H
#define INCLUDED_GR_CRC32_H
+#include <gr_core_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
+GR_CORE_API unsigned int
gr_update_crc32(unsigned int crc, const unsigned char *buf, size_t len);
-unsigned int
+GR_CORE_API unsigned int
gr_update_crc32(unsigned int crc, const std::string buf);
-unsigned int
+GR_CORE_API unsigned int
gr_crc32(const unsigned char *buf, size_t len);
-unsigned int
+GR_CORE_API unsigned int
gr_crc32(const std::string buf);
#endif /* INCLUDED_CRC32_H */