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/follow.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (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/follow.h')
-rw-r--r-- | epan/follow.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/epan/follow.h b/epan/follow.h index 46fe5c45cf..585ea07438 100644 --- a/epan/follow.h +++ b/epan/follow.h @@ -28,12 +28,13 @@ #define __FOLLOW_H__ #include <epan/packet.h> +#include "ws_symbol_export.h" #define MAX_IPADDR_LEN 16 /* With MSVC and a libwireshark.dll, we need a special declaration. */ -WS_VAR_IMPORT gboolean empty_tcp_stream; -WS_VAR_IMPORT gboolean incomplete_tcp_stream; +WS_DLL_PUBLIC gboolean empty_tcp_stream; +WS_DLL_PUBLIC gboolean incomplete_tcp_stream; typedef struct _tcp_stream_chunk { guint8 src_addr[MAX_IPADDR_LEN]; @@ -41,11 +42,15 @@ typedef struct _tcp_stream_chunk { guint32 dlen; } tcp_stream_chunk; +WS_DLL_PUBLIC char* build_follow_filter( packet_info * ); +WS_DLL_PUBLIC gboolean follow_tcp_addr( const address *, guint, const address *, guint ); +WS_DLL_PUBLIC gboolean follow_tcp_index( guint32 ); void reassemble_tcp( guint32, guint32, guint32, guint32, const char*, guint32, int, address *, address *, guint, guint ); +WS_DLL_PUBLIC void reset_tcp_reassembly( void ); typedef struct { @@ -55,6 +60,7 @@ typedef struct { gboolean is_ipv6; } follow_stats_t; +WS_DLL_PUBLIC void follow_stats(follow_stats_t* stats); #endif |