=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wpcap: Add stub for pcap_setbuff.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 15 13:53:11 CDT 2014
Module: wine
Branch: master
Commit: e7bf85ccae4af4710576291c23352e2a510e44f5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e7bf85ccae4af4710576291c23352e2a510e44f5
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Aug 12 00:31:25 2014 +0200
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 0393ad1..304cc2b 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 5186276..4c9d5af 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
More information about the wine-cvs
mailing list