wpcap: Implement pcap_datalink.

This commit is contained in:
André Hentschel 2014-08-12 00:32:05 +02:00 committed by Alexandre Julliard
parent e7bf85ccae
commit fa229c205d
2 changed files with 7 additions and 1 deletions

View File

@ -24,6 +24,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(wpcap);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
int CDECL wine_pcap_datalink(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_datalink(p);
}
int CDECL wine_pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf)
{
int ret;

View File

@ -11,7 +11,7 @@
@ stub pcap_compile
@ stub pcap_compile_nopcap
@ stub pcap_createsrcstr
@ stub pcap_datalink
@ cdecl pcap_datalink(ptr) wine_pcap_datalink
@ stub pcap_datalink_name_to_val
@ stub pcap_datalink_val_to_description
@ stub pcap_datalink_val_to_name