wpcap: Implement pcap_list_datalinks.

This commit is contained in:
André Hentschel 2014-08-18 23:56:15 +02:00 committed by Alexandre Julliard
parent ea18520e6c
commit d6c4ed0878
2 changed files with 7 additions and 1 deletions

View File

@ -134,6 +134,12 @@ const char* CDECL wine_pcap_lib_version(void)
return ret;
}
int CDECL wine_pcap_list_datalinks(pcap_t *p, int **dlt_buffer)
{
TRACE("(%p %p)\n", p, dlt_buffer);
return pcap_list_datalinks(p, dlt_buffer);
}
char* CDECL wine_pcap_lookupdev(char *errbuf)
{
TRACE("(%p)\n", errbuf);

View File

@ -34,7 +34,7 @@
@ stub pcap_getnonblock
@ stub pcap_is_swapped
@ cdecl pcap_lib_version() wine_pcap_lib_version
@ stub pcap_list_datalinks
@ cdecl pcap_list_datalinks(ptr ptr) wine_pcap_list_datalinks
@ stub pcap_live_dump
@ stub pcap_live_dump_ended
@ cdecl pcap_lookupdev(ptr) wine_pcap_lookupdev