=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wpcap: Implement pcap_close.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 19 16:00:08 CDT 2014
Module: wine
Branch: master
Commit: 235bbd0f306228569b0145c1252e964d224b86ca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=235bbd0f306228569b0145c1252e964d224b86ca
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Aug 18 23:55:15 2014 +0200
wpcap: Implement pcap_close.
---
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 333079e..be58102 100644
--- a/dlls/wpcap/wpcap.c
+++ b/dlls/wpcap/wpcap.c
@@ -32,6 +32,12 @@ void CDECL wine_pcap_breakloop(pcap_t *p)
return pcap_breakloop(p);
}
+void CDECL wine_pcap_close(pcap_t *p)
+{
+ TRACE("(%p)\n", p);
+ pcap_close(p);
+}
+
int CDECL wine_pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize,
unsigned int mask)
{
diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec
index 04f309f..835550a 100644
--- a/dlls/wpcap/wpcap.spec
+++ b/dlls/wpcap/wpcap.spec
@@ -7,7 +7,7 @@
@ stub getservent
@ stub install_bpf_program
@ cdecl pcap_breakloop(ptr) wine_pcap_breakloop
-@ stub pcap_close
+@ cdecl pcap_close(ptr) wine_pcap_close
@ cdecl pcap_compile(ptr ptr str long long) wine_pcap_compile
@ stub pcap_compile_nopcap
@ stub pcap_createsrcstr
More information about the wine-cvs
mailing list