aboutsummaryrefslogtreecommitdiffstats
path: root/capture_wpcap_packet.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
committerGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
commit6b178bd41548b561913be45a6ee649a497ec5d1f (patch)
tree81727fd787260953b047a6b711a1ebb3a6946684 /capture_wpcap_packet.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'capture_wpcap_packet.h')
-rw-r--r--capture_wpcap_packet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture_wpcap_packet.h b/capture_wpcap_packet.h
index 4aeb756c96..044547bfe2 100644
--- a/capture_wpcap_packet.h
+++ b/capture_wpcap_packet.h
@@ -25,6 +25,9 @@
#ifndef CAPTURE_WPCAP_PACKET_H
#define CAPTURE_WPCAP_PACKET_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
extern void wpcap_packet_load(void);
@@ -43,5 +46,8 @@ extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
#endif /* CAPTURE_WPCAP_PACKET_H */