From e7bf85ccae4af4710576291c23352e2a510e44f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 12 Aug 2014 00:31:25 +0200 Subject: [PATCH] wpcap: Add stub for pcap_setbuff. --- 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 0393ad15113..304cc2b394f 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -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); diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec index 51862762a9e..4c9d5af746e 100644 --- a/dlls/wpcap/wpcap.spec +++ b/dlls/wpcap/wpcap.spec @@ -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