aboutsummaryrefslogtreecommitdiffstats
path: root/epan/conversation.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-11-04 03:55:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-11-04 03:55:52 +0000
commitdae58b7b02dfb90a583116df4a440cb395034d53 (patch)
treeb8ec247aba2b00143ab6811206009a8d33d84b23 /epan/conversation.h
parent99b9e1b65e0ab9ddb1a0cd9d2604d505c1ef46d3 (diff)
Declare routines exported to plugins through the plugin API table as
extern, so that "plugin_api_defs.h" works on platforms where you have to use the plugin API table. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4151 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/conversation.h')
-rw-r--r--epan/conversation.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/conversation.h b/epan/conversation.h
index c881eb1852..bf4c6fb13f 100644
--- a/epan/conversation.h
+++ b/epan/conversation.h
@@ -1,7 +1,7 @@
/* conversation.h
* Routines for building lists of packets that are part of a "conversation"
*
- * $Id: conversation.h,v 1.7 2001/10/31 05:59:19 guy Exp $
+ * $Id: conversation.h,v 1.8 2001/11/04 03:55:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -64,27 +64,27 @@ typedef struct conversation {
extern void conversation_init(void);
-conversation_t *conversation_new(address *addr1, address *addr2,
+extern conversation_t *conversation_new(address *addr1, address *addr2,
port_type ptype, guint32 port1, guint32 port2, guint options);
-conversation_t *find_conversation(address *addr_a, address *addr_b,
+extern conversation_t *find_conversation(address *addr_a, address *addr_b,
port_type ptype, guint32 port_a, guint32 port_b, guint options);
-void conversation_add_proto_data(conversation_t *conv, int proto,
+extern void conversation_add_proto_data(conversation_t *conv, int proto,
void *proto_data);
-void *conversation_get_proto_data(conversation_t *conv, int proto);
-void conversation_delete_proto_data(conversation_t *conv, int proto);
+extern void *conversation_get_proto_data(conversation_t *conv, int proto);
+extern void conversation_delete_proto_data(conversation_t *conv, int proto);
-void conversation_set_dissector(conversation_t *conversation,
+extern void conversation_set_dissector(conversation_t *conversation,
dissector_t dissector);
-gboolean
+extern gboolean
try_conversation_dissector(address *addr_a, address *addr_b, port_type ptype,
guint32 port_a, guint32 port_b, tvbuff_t *tvb, packet_info *pinfo,
proto_tree *tree);
/* These routines are used to set undefined values for a conversation */
-void conversation_set_port2(conversation_t *conv, guint32 port);
-void conversation_set_addr2(conversation_t *conv, address *addr);
+extern void conversation_set_port2(conversation_t *conv, guint32 port);
+extern void conversation_set_addr2(conversation_t *conv, address *addr);
#endif /* conversation.h */