From Harald Welte:
[obnox/wireshark/wip.git] / capture_wpcap_packet.h
index 5e700e90385efcbb4967002e1e85ece1387b1ff7..044547bfe2838b1cbd1ea1db7906f88ea25e191d 100644 (file)
@@ -2,8 +2,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 2001 Gerald Combs
  *
  *
@@ -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 */