Try to fix some of the build problems, it still bumms out on:
[obnox/wireshark/wip.git] / capture_wpcap_packet.h
index 090c1b2291569922ea88767e240b18502ff30033..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
  *
  *
 #ifndef CAPTURE_WPCAP_PACKET_H
 #define CAPTURE_WPCAP_PACKET_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
 
 extern void wpcap_packet_load(void);
 
+/* get the packet.dll version info */
+extern char *wpcap_packet_get_version(void);
+
 /* open the interface */
 extern void * wpcap_packet_open(char *if_name);
 
@@ -40,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 */