From e227f7d84d8b9a51b20dd45cd9329bc7a9497b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Mon, 18 Aug 2014 23:56:28 +0200 Subject: [PATCH] wpcap: Implement pcap_datalink_val_to_description. --- dlls/wpcap/wpcap.c | 6 ++++++ dlls/wpcap/wpcap.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index 5e94c08e639..062ddb20f6e 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -57,6 +57,12 @@ int CDECL wine_pcap_datalink_name_to_val(const char *name) return pcap_datalink_name_to_val(name); } +const char* CDECL wine_pcap_datalink_val_to_description(int dlt) +{ + TRACE("(%i)\n", dlt); + return pcap_datalink_val_to_description(dlt); +} + const char* CDECL wine_pcap_datalink_val_to_name(int dlt) { TRACE("(%i)\n", dlt); diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec index 2fc8b4d6d21..55e50e233f4 100644 --- a/dlls/wpcap/wpcap.spec +++ b/dlls/wpcap/wpcap.spec @@ -13,7 +13,7 @@ @ stub pcap_createsrcstr @ cdecl pcap_datalink(ptr) wine_pcap_datalink @ cdecl pcap_datalink_name_to_val(str) wine_pcap_datalink_name_to_val -@ stub pcap_datalink_val_to_description +@ cdecl pcap_datalink_val_to_description(long) wine_pcap_datalink_val_to_description @ 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