From 29cdb71d9870f6aa1aff6c97cdbfcf042d7101a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 12 Aug 2014 00:32:52 +0200 Subject: [PATCH] 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 791a04dbf31..5705ea61d7f 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 7e4ae8668ad..460fbd912de 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