=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wpcap: Implement pcap_lookupdev.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 15 13:53:11 CDT 2014
Module: wine
Branch: master
Commit: 29cdb71d9870f6aa1aff6c97cdbfcf042d7101a7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=29cdb71d9870f6aa1aff6c97cdbfcf042d7101a7
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Aug 12 00:32:52 2014 +0200
wpcap: Implement pcap_lookupdev.
---
dlls/wpcap/wpcap.c | 6 ++++++
dlls/wpcap/wpcap.spec | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c
index 791a04d..5705ea6 100644
--- a/dlls/wpcap/wpcap.c
+++ b/dlls/wpcap/wpcap.c
@@ -61,6 +61,12 @@ const char* CDECL wine_pcap_lib_version(void)
return ret;
}
+char* CDECL wine_pcap_lookupdev(char *errbuf)
+{
+ TRACE("(%p)\n", errbuf);
+ return pcap_lookupdev(errbuf);
+}
+
int CDECL wine_pcap_major_version(pcap_t *p)
{
TRACE("(%p)\n", p);
diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec
index 7e4ae86..460fbd9 100644
--- a/dlls/wpcap/wpcap.spec
+++ b/dlls/wpcap/wpcap.spec
@@ -37,7 +37,7 @@
@ stub pcap_list_datalinks
@ stub pcap_live_dump
@ stub pcap_live_dump_ended
-@ stub pcap_lookupdev
+@ cdecl pcap_lookupdev(str) wine_pcap_lookupdev
@ stub pcap_lookupnet
@ stub pcap_loop
@ cdecl pcap_major_version(ptr) wine_pcap_major_version
More information about the wine-cvs
mailing list