aboutsummaryrefslogtreecommitdiffstats
path: root/capture_wpcap_packet.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-05-21 09:41:57 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-05-21 09:41:57 +0000
commitb5d1f77046792e88db90094a156e4722e34ad381 (patch)
tree161bfeb9ffb93a16f6208fcab9bff94c7e33ad0e /capture_wpcap_packet.h
parentb91e9cb311364ffb563f6e89e3ae4119aa9e4d1f (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.
svn path=/trunk/; revision=14411
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);