Commit 235bbd0f authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

wpcap: Implement pcap_close.

parent 6284a3e2
...@@ -32,6 +32,12 @@ void CDECL wine_pcap_breakloop(pcap_t *p) ...@@ -32,6 +32,12 @@ void CDECL wine_pcap_breakloop(pcap_t *p)
return pcap_breakloop(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, int CDECL wine_pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize,
unsigned int mask) unsigned int mask)
{ {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
@ stub getservent @ stub getservent
@ stub install_bpf_program @ stub install_bpf_program
@ cdecl pcap_breakloop(ptr) wine_pcap_breakloop @ 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 @ cdecl pcap_compile(ptr ptr str long long) wine_pcap_compile
@ stub pcap_compile_nopcap @ stub pcap_compile_nopcap
@ stub pcap_createsrcstr @ stub pcap_createsrcstr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment