aboutsummaryrefslogtreecommitdiffstats
path: root/capture_wpcap_packet.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-21 09:41:57 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-21 09:41:57 +0000
commitfa1317cd942571234966e1b2c233c5d796425f62 (patch)
tree161bfeb9ffb93a16f6208fcab9bff94c7e33ad0e /capture_wpcap_packet.h
parent284c15fd3980e7f4786fe6063134662b4ca93afd (diff)
as suggested by Loris: add wpcap_packet_get_version() and check the packet.dll version before using it (very restrictive for now, will check for exact DLL version strings). If version is unknown, ask user to continue or not.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14411 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_wpcap_packet.h')
-rw-r--r--capture_wpcap_packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_wpcap_packet.h b/capture_wpcap_packet.h
index 090c1b2291..5e700e9038 100644
--- a/capture_wpcap_packet.h
+++ b/capture_wpcap_packet.h
@@ -28,6 +28,9 @@
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);