aboutsummaryrefslogtreecommitdiffstats
path: root/epan/conversation.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/conversation.h')
-rw-r--r--epan/conversation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/conversation.h b/epan/conversation.h
index f00ff93e46..530b700e57 100644
--- a/epan/conversation.h
+++ b/epan/conversation.h
@@ -25,6 +25,10 @@
#ifndef __CONVERSATION_H__
#define __CONVERSATION_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Flags to pass to "conversation_new()" to indicate that the address 2
* and/or port 2 values for the conversation should be wildcards.
@@ -99,4 +103,8 @@ try_conversation_dissector(address *addr_a, address *addr_b, port_type ptype,
extern void conversation_set_port2(conversation_t *conv, guint32 port);
extern void conversation_set_addr2(conversation_t *conv, address *addr);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* conversation.h */