wpcap: Implement pcap_setnonblock.

This commit is contained in:
André Hentschel 2014-08-19 00:02:03 +02:00 committed by Alexandre Julliard
parent 1c460fcd63
commit f0f57c22bf
2 changed files with 7 additions and 1 deletions

View File

@ -256,6 +256,12 @@ int CDECL wine_pcap_setfilter(pcap_t *p, struct bpf_program *fp)
return pcap_setfilter(p, fp);
}
int CDECL wine_pcap_setnonblock(pcap_t *p, int nonblock, char *errbuf)
{
TRACE("(%p %i %p)\n", p, nonblock, errbuf);
return pcap_setnonblock(p, nonblock, errbuf);
}
int CDECL wine_pcap_snapshot(pcap_t *p)
{
TRACE("(%p)\n", p);

View File

@ -68,7 +68,7 @@
@ cdecl pcap_setfilter(ptr ptr) wine_pcap_setfilter
@ stub pcap_setmintocopy
@ stub pcap_setmode
@ stub pcap_setnonblock
@ cdecl pcap_setnonblock(ptr long ptr) wine_pcap_setnonblock
@ stub pcap_setsampling
@ stub pcap_setuserbuffer
@ cdecl pcap_snapshot(ptr) wine_pcap_snapshot