=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wpcap: Implement pcap_open_live.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 15 13:53:11 CDT 2014
Module: wine
Branch: master
Commit: 8738eb31dea5a6db143eb6246dc0c64e6fad5469
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8738eb31dea5a6db143eb6246dc0c64e6fad5469
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Aug 12 00:29:46 2014 +0200
wpcap: Implement pcap_open_live.
---
dlls/wpcap/wpcap.c | 7 +++++++
dlls/wpcap/wpcap.spec | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c
index a83c4d5..3639de4 100644
--- a/dlls/wpcap/wpcap.c
+++ b/dlls/wpcap/wpcap.c
@@ -66,3 +66,10 @@ int CDECL wine_pcap_minor_version(pcap_t *p)
TRACE("(%p)\n", p);
return pcap_minor_version(p);
}
+
+pcap_t* CDECL wine_pcap_open_live(const char *source, int snaplen, int promisc, int to_ms,
+ char *errbuf)
+{
+ TRACE("(%p %i %i %i %p)\n", source, snaplen, promisc, to_ms, errbuf);
+ return pcap_open_live(source, snaplen, promisc, to_ms, errbuf);
+}
diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec
index 91f4c8f..2a87fba 100644
--- a/dlls/wpcap/wpcap.spec
+++ b/dlls/wpcap/wpcap.spec
@@ -49,7 +49,7 @@
@ stub pcap_offline_read
@ stub pcap_open
@ stub pcap_open_dead
-@ stub pcap_open_live
+@ cdecl pcap_open_live(str long long long str) wine_pcap_open_live
@ stub pcap_open_offline
@ stub pcap_parsesrcstr
@ stub pcap_perror
More information about the wine-cvs
mailing list