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

wpcap: Implement pcap_datalink_val_to_name.

parent 9bb5b00d
......@@ -45,6 +45,12 @@ int CDECL wine_pcap_datalink(pcap_t *p)
return pcap_datalink(p);
}
const char* CDECL wine_pcap_datalink_val_to_name(int dlt)
{
TRACE("(%i)\n", dlt);
return pcap_datalink_val_to_name(dlt);
}
typedef struct
{
void (CALLBACK *pfn_cb)(u_char *, const struct pcap_pkthdr *, const u_char *);
......
......@@ -14,7 +14,7 @@
@ 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
@ cdecl pcap_datalink_val_to_name(long) wine_pcap_datalink_val_to_name
@ cdecl pcap_dispatch(ptr long ptr ptr) wine_pcap_dispatch
@ stub pcap_dump
@ stub pcap_dump_close
......
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