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

wpcap: Implement pcap_getnonblock.

parent c070c46e
...@@ -140,6 +140,12 @@ char* CDECL wine_pcap_geterr(pcap_t *p) ...@@ -140,6 +140,12 @@ char* CDECL wine_pcap_geterr(pcap_t *p)
return pcap_geterr(p); return pcap_geterr(p);
} }
int CDECL wine_pcap_getnonblock(pcap_t *p, char *errbuf)
{
TRACE("(%p %p)\n", p, errbuf);
return pcap_getnonblock(p, errbuf);
}
const char* CDECL wine_pcap_lib_version(void) const char* CDECL wine_pcap_lib_version(void)
{ {
const char* ret = pcap_lib_version(); const char* ret = pcap_lib_version();
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
@ cdecl pcap_get_airpcap_handle(ptr) wine_pcap_get_airpcap_handle @ cdecl pcap_get_airpcap_handle(ptr) wine_pcap_get_airpcap_handle
@ cdecl pcap_geterr(ptr) wine_pcap_geterr @ cdecl pcap_geterr(ptr) wine_pcap_geterr
@ stub pcap_getevent @ stub pcap_getevent
@ stub pcap_getnonblock @ cdecl pcap_getnonblock(ptr ptr) wine_pcap_getnonblock
@ stub pcap_is_swapped @ stub pcap_is_swapped
@ cdecl pcap_lib_version() wine_pcap_lib_version @ cdecl pcap_lib_version() wine_pcap_lib_version
@ cdecl pcap_list_datalinks(ptr ptr) wine_pcap_list_datalinks @ cdecl pcap_list_datalinks(ptr ptr) wine_pcap_list_datalinks
......
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