wpcap: Implement pcap_compile.

This commit is contained in:
André Hentschel 2014-08-12 00:34:45 +02:00 committed by Alexandre Julliard
parent 53912aed73
commit 297a69a4b5
2 changed files with 8 additions and 1 deletions

View File

@ -24,6 +24,13 @@
WINE_DEFAULT_DEBUG_CHANNEL(wpcap);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
int CDECL wine_pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize,
unsigned int mask)
{
TRACE("(%p)\n", p);
return pcap_compile(p, program, buf, optimize, mask);
}
int CDECL wine_pcap_datalink(pcap_t *p)
{
TRACE("(%p)\n", p);

View File

@ -8,7 +8,7 @@
@ stub install_bpf_program
@ stub pcap_breakloop
@ stub pcap_close
@ stub pcap_compile
@ cdecl pcap_compile(ptr ptr str long long) wine_pcap_compile
@ stub pcap_compile_nopcap
@ stub pcap_createsrcstr
@ cdecl pcap_datalink(ptr) wine_pcap_datalink