Commit 297a69a4 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

wpcap: Implement pcap_compile.

parent 53912aed
......@@ -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);
......
......@@ -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
......
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