wpcap: Implement pcap_close.

This commit is contained in:
André Hentschel 2014-08-18 23:55:15 +02:00 committed by Alexandre Julliard
parent 6284a3e202
commit 235bbd0f30
2 changed files with 7 additions and 1 deletions

View File

@ -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)
{

View File

@ -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