wpcap: Implement pcap_datalink_name_to_val.
This commit is contained in:
parent
235bbd0f30
commit
ea18520e6c
|
@ -51,6 +51,12 @@ int CDECL wine_pcap_datalink(pcap_t *p)
|
|||
return pcap_datalink(p);
|
||||
}
|
||||
|
||||
int CDECL wine_pcap_datalink_name_to_val(const char *name)
|
||||
{
|
||||
TRACE("(%s)\n", debugstr_a(name));
|
||||
return pcap_datalink_name_to_val(name);
|
||||
}
|
||||
|
||||
const char* CDECL wine_pcap_datalink_val_to_name(int dlt)
|
||||
{
|
||||
TRACE("(%i)\n", dlt);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
@ stub pcap_compile_nopcap
|
||||
@ stub pcap_createsrcstr
|
||||
@ cdecl pcap_datalink(ptr) wine_pcap_datalink
|
||||
@ stub pcap_datalink_name_to_val
|
||||
@ cdecl pcap_datalink_name_to_val(str) wine_pcap_datalink_name_to_val
|
||||
@ stub 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
|
||||
|
|
Loading…
Reference in New Issue