summaryrefslogtreecommitdiff
path: root/wsutil/crc16-plain.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
commit45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch)
treebb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/crc16-plain.h
parent018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff)
downloadwireshark-45c2884f1bbd9c06f7ba3091d968fcb6649a5f56.tar.gz
Export libwsutil symbols using WS_DLL_PUBLIC define
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938
Diffstat (limited to 'wsutil/crc16-plain.h')
-rw-r--r--wsutil/crc16-plain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsutil/crc16-plain.h b/wsutil/crc16-plain.h
index 155ec6cc66..178a6ef0fc 100644
--- a/wsutil/crc16-plain.h
+++ b/wsutil/crc16-plain.h
@@ -20,6 +20,8 @@
#ifndef __CRC____PLAIN_H__
#define __CRC____PLAIN_H__
+#include "ws_symbol_export.h"
+
#include <glib.h>
#include <stdlib.h>
@@ -66,6 +68,7 @@ static inline crc16_plain_t crc16_plain_init(void)
* \param data_len Number of bytes in the \a data buffer.
* \return The updated crc value.
*****************************************************************************/
+WS_DLL_PUBLIC
crc16_plain_t crc16_plain_update(crc16_plain_t crc, const unsigned char *data, size_t data_len);
/**
@@ -97,6 +100,7 @@ static inline crc16_plain_t crc16_plain_finalize(crc16_plain_t crc)
* \param data_len Number of bytes in the \a data buffer.
* \return The crc value.
*****************************************************************************/
+WS_DLL_PUBLIC
guint16 crc16_8005_noreflect_noxor(const guint8 *data, guint64 data_len);