wpcap: Add stub for pcap_setbuff.

This commit is contained in:
André Hentschel 2014-08-12 00:31:25 +02:00 committed by Alexandre Julliard
parent 5d0e67855d
commit e7bf85ccae
2 changed files with 7 additions and 1 deletions

View File

@ -74,6 +74,12 @@ pcap_t* CDECL wine_pcap_open_live(const char *source, int snaplen, int promisc,
return pcap_open_live(source, snaplen, promisc, to_ms, errbuf);
}
int CDECL wine_pcap_setbuff(pcap_t * p, int dim)
{
FIXME("(%p %i) stub\n", p, dim);
return 0;
}
int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps)
{
TRACE("(%p %p)\n", p, ps);

View File

@ -64,7 +64,7 @@
@ stub pcap_sendqueue_queue
@ stub pcap_sendqueue_transmit
@ stub pcap_set_datalink
@ stub pcap_setbuff
@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff
@ stub pcap_setfilter
@ stub pcap_setmintocopy
@ stub pcap_setmode