diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
commit | 1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch) | |
tree | d6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /epan/golay.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff) | |
download | wireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.gz wireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.bz2 wireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.zip |
Export libwireshark symbols using WS_DLL_PUBLIC define
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
Diffstat (limited to 'epan/golay.h')
-rw-r--r-- | epan/golay.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/golay.h b/epan/golay.h index d754129cb5..48daae2f47 100644 --- a/epan/golay.h +++ b/epan/golay.h @@ -31,19 +31,24 @@ #ifndef __GOLAY_H__ #define __GOLAY_H__ +#include "ws_symbol_export.h" + /* encodes a 12-bit word to a 24-bit codeword */ +WS_DLL_PUBLIC guint32 golay_encode(guint w); /* return a mask showing the bits which are in error in a received * 24-bit codeword, or -1 if 4 errors were detected. */ +WS_DLL_PUBLIC gint32 golay_errors(guint32 codeword); /* decode a received codeword. Up to 3 errors are corrected for; 4 errors are detected as uncorrectable (return -1); 5 or more errors cause an incorrect correction. */ +WS_DLL_PUBLIC gint golay_decode(guint32 w); #endif |