aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frequency-utils.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
commit1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch)
treed6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /epan/frequency-utils.h
parent0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff)
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/frequency-utils.h')
-rw-r--r--epan/frequency-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/frequency-utils.h b/epan/frequency-utils.h
index 78e28ed2e5..d631b86230 100644
--- a/epan/frequency-utils.h
+++ b/epan/frequency-utils.h
@@ -25,6 +25,8 @@
#ifndef __FREQUENCY_UTILS_H__
#define __FREQUENCY_UTILS_H__
+#include "ws_symbol_export.h"
+
/** @file
* Frequency and channel conversion utilities.
*/
@@ -34,6 +36,7 @@
* @param freq Frequency in MHz.
* @return The equivalent channel or -1 if no match is found.
*/
+WS_DLL_PUBLIC
gint
ieee80211_mhz_to_chan(guint freq);
@@ -43,6 +46,7 @@ ieee80211_mhz_to_chan(guint freq);
* @param is_bg TRUE if the channel is a b/g channel, FALSE otherwise.
* @return The equivalent frequency or 0 if no match is found.
*/
+WS_DLL_PUBLIC
guint
ieee80211_chan_to_mhz(gint chan, gboolean is_bg);
@@ -51,6 +55,7 @@ ieee80211_chan_to_mhz(gint chan, gboolean is_bg);
* @param freq Frequench in MHz.
* @return A string showing the frequency, channel number, and type. The string must be freed with g_free() after use.
*/
+WS_DLL_PUBLIC
gchar*
ieee80211_mhz_to_str(guint freq);