wpcap: Implement pcap_lookupdev.

This commit is contained in:
André Hentschel 2014-08-12 00:32:52 +02:00 committed by Alexandre Julliard
parent fa229c205d
commit 29cdb71d98
2 changed files with 7 additions and 1 deletions

View File

@ -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);

View File

@ -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