Make TCP functions available for plugins
authorPascal Quantin <pascal.quantin@gmail.com>
Mon, 2 Jun 2014 21:45:32 +0000 (23:45 +0200)
committerAnders Broman <a.broman58@gmail.com>
Tue, 3 Jun 2014 05:09:31 +0000 (05:09 +0000)
Change-Id: Ibce3f3351bfc89c069a02380c776680a1c78e12c
Reviewed-on: https://code.wireshark.org/review/1926
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-tcp.h

index c7a46f3788b7d4d661f861a8f2ab64c3016e646b..1fcf7d2f5750607f01ff21f249f7f7a16b577280 100644 (file)
@@ -266,16 +266,16 @@ struct tcp_per_packet_data_t {
 };
 
 
-extern void dissect_tcp_payload(tvbuff_t *tvb, packet_info *pinfo, int offset,
+WS_DLL_PUBLIC void dissect_tcp_payload(tvbuff_t *tvb, packet_info *pinfo, int offset,
                                guint32 seq, guint32 nxtseq, guint32 sport,
                                guint32 dport, proto_tree *tree,
                                proto_tree *tcp_tree,
                                struct tcp_analysis *tcpd, struct tcpinfo *tcpinfo);
 
-extern struct tcp_analysis *get_tcp_conversation_data(conversation_t *conv,
+WS_DLL_PUBLIC struct tcp_analysis *get_tcp_conversation_data(conversation_t *conv,
                                 packet_info *pinfo);
 
-extern gboolean decode_tcp_ports(tvbuff_t *, int, packet_info *, proto_tree *, int, int, struct tcp_analysis *, struct tcpinfo *);
+WS_DLL_PUBLIC gboolean decode_tcp_ports(tvbuff_t *, int, packet_info *, proto_tree *, int, int, struct tcp_analysis *, struct tcpinfo *);
 
 /** Associate process information with a given flow
  *