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

wpcap: Implement pcap_snapshot.

parent 03d06718
...@@ -118,6 +118,12 @@ int CDECL wine_pcap_setfilter(pcap_t *p, struct bpf_program *fp) ...@@ -118,6 +118,12 @@ int CDECL wine_pcap_setfilter(pcap_t *p, struct bpf_program *fp)
return pcap_setfilter(p, fp); return pcap_setfilter(p, fp);
} }
int CDECL wine_pcap_snapshot(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_snapshot(p);
}
int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps) int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps)
{ {
TRACE("(%p %p)\n", p, ps); TRACE("(%p %p)\n", p, ps);
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
@ stub pcap_setnonblock @ stub pcap_setnonblock
@ stub pcap_setsampling @ stub pcap_setsampling
@ stub pcap_setuserbuffer @ stub pcap_setuserbuffer
@ stub pcap_snapshot @ cdecl pcap_snapshot(ptr) wine_pcap_snapshot
@ cdecl pcap_stats(ptr ptr) wine_pcap_stats @ cdecl pcap_stats(ptr ptr) wine_pcap_stats
@ stub pcap_stats_ex @ stub pcap_stats_ex
@ stub pcap_strerror @ stub pcap_strerror
......
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