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

wpcap: Implement pcap_next_ex.

parent daae8422
......@@ -208,6 +208,12 @@ const unsigned char* CDECL wine_pcap_next(pcap_t *p, struct pcap_pkthdr *h)
return pcap_next(p, h);
}
int CDECL wine_pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, const unsigned char **pkt_data)
{
TRACE("(%p %p %p)\n", p, pkt_header, pkt_data);
return pcap_next_ex(p, pkt_header, pkt_data);
}
#define PCAP_OPENFLAG_PROMISCUOUS 1
pcap_t* CDECL wine_pcap_open(const char *source, int snaplen, int flags, int read_timeout,
......
......@@ -44,7 +44,7 @@
@ cdecl pcap_minor_version(ptr) wine_pcap_minor_version
@ cdecl pcap_next(ptr ptr) wine_pcap_next
@ stub pcap_next_etherent
@ stub pcap_next_ex
@ cdecl pcap_next_ex(ptr ptr ptr) wine_pcap_next_ex
@ stub pcap_offline_filter
@ stub pcap_offline_read
@ cdecl pcap_open(str long long long ptr ptr) wine_pcap_open
......
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