wpcap: Implement pcap_open_live.

This commit is contained in:
André Hentschel 2014-08-12 00:29:46 +02:00 committed by Alexandre Julliard
parent efb1d1d849
commit 8738eb31de
2 changed files with 8 additions and 1 deletions

View File

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

View File

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