aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 786f24eb33..1169856fba 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -51,6 +51,10 @@
#include "tvbuff.h"
#include "ftypes/ftypes.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/** The header-field index for the special text pseudo-field. Exported by libwireshark.dll */
WS_VAR_IMPORT int hf_text_only;
@@ -1556,4 +1560,8 @@ proto_find_field_from_offset(proto_tree *tree, guint offset, tvbuff_t *tvb);
extern proto_item *
proto_tree_add_bitmask(proto_tree *tree, tvbuff_t *tvb, int offset, int hf_hdr, gint ett, const int **fields, gboolean little_endian);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* proto.h */