aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs-int.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/prefs-int.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/prefs-int.h')
-rw-r--r--epan/prefs-int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h
index 46c19429f0..8b9379714b 100644
--- a/epan/prefs-int.h
+++ b/epan/prefs-int.h
@@ -27,6 +27,7 @@
#define __PREFS_INT_H__
#include <stdio.h>
+#include "ws_symbol_export.h"
/**
*@file
@@ -63,7 +64,7 @@ typedef struct {
* Module used for protocol preferences.
* With MSVC and a libwireshark.dll, we need a special declaration.
*/
-WS_VAR_IMPORT module_t *protocols_module;
+WS_DLL_PUBLIC module_t *protocols_module;
typedef void (*pref_custom_free_cb) (pref_t* pref);
typedef void (*pref_custom_reset_cb) (pref_t* pref);
@@ -170,6 +171,7 @@ typedef prefs_set_pref_e (*pref_set_pair_cb) (gchar *key, const gchar *value, vo
/** read the preferences file (or similiar) and call the callback
* function to set each key/value pair found
*/
+WS_DLL_PUBLIC
int
read_prefs_file(const char *pf_path, FILE *pf, pref_set_pair_cb pref_set_pair_fct, void *private_data);