summaryrefslogtreecommitdiff
path: root/epan/tap.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/tap.h
parent0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff)
downloadwireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.gz
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/tap.h')
-rw-r--r--epan/tap.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/epan/tap.h b/epan/tap.h
index 6c1b95ea11..184ad52242 100644
--- a/epan/tap.h
+++ b/epan/tap.h
@@ -26,6 +26,7 @@
#define __TAP_H__
#include <epan/epan.h>
+#include "ws_symbol_export.h"
#ifdef __cplusplus
extern "C" {
@@ -46,24 +47,24 @@ typedef void (*tap_draw_cb)(void *tapdata);
** but does not, itself, require dissection */
extern void tap_init(void);
-extern int register_tap(const char *name);
-extern int find_tap_id(const char *name);
-extern void tap_queue_packet(int tap_id, packet_info *pinfo, const void *tap_specific_data);
-extern void tap_build_interesting(epan_dissect_t *edt);
+WS_DLL_PUBLIC int register_tap(const char *name);
+WS_DLL_PUBLIC int find_tap_id(const char *name);
+WS_DLL_PUBLIC void tap_queue_packet(int tap_id, packet_info *pinfo, const void *tap_specific_data);
+WS_DLL_PUBLIC void tap_build_interesting(epan_dissect_t *edt);
extern void tap_queue_init(epan_dissect_t *edt);
extern void tap_push_tapped_queue(epan_dissect_t *edt);
-extern void reset_tap_listeners(void);
-extern void draw_tap_listeners(gboolean draw_all);
-extern GString *register_tap_listener(const char *tapname, void *tapdata,
+WS_DLL_PUBLIC void reset_tap_listeners(void);
+WS_DLL_PUBLIC void draw_tap_listeners(gboolean draw_all);
+WS_DLL_PUBLIC GString *register_tap_listener(const char *tapname, void *tapdata,
const char *fstring, guint flags, tap_reset_cb tap_reset,
tap_packet_cb tap_packet, tap_draw_cb tap_draw);
-extern GString *set_tap_dfilter(void *tapdata, const char *fstring);
-extern void remove_tap_listener(void *tapdata);
-extern gboolean tap_listeners_require_dissection(void);
+WS_DLL_PUBLIC GString *set_tap_dfilter(void *tapdata, const char *fstring);
+WS_DLL_PUBLIC void remove_tap_listener(void *tapdata);
+WS_DLL_PUBLIC gboolean tap_listeners_require_dissection(void);
extern gboolean have_tap_listener(int tap_id);
-extern gboolean have_filtering_tap_listeners(void);
-extern guint union_of_tap_listener_flags(void);
-extern const void *fetch_tapped_data(int tap_id, int idx);
+WS_DLL_PUBLIC gboolean have_filtering_tap_listeners(void);
+WS_DLL_PUBLIC guint union_of_tap_listener_flags(void);
+WS_DLL_PUBLIC const void *fetch_tapped_data(int tap_id, int idx);
#ifdef __cplusplus
}