wpcap: Implement pcap_major_version and pcap_minor_version.

This commit is contained in:
André Hentschel 2014-08-10 23:08:20 +02:00 committed by Alexandre Julliard
parent 6a30cde7b0
commit 0cbd82f629
2 changed files with 14 additions and 2 deletions

View File

@ -29,3 +29,15 @@ const char* CDECL wine_pcap_lib_version(void)
TRACE("%s\n", debugstr_a(ret));
return ret;
}
int CDECL wine_pcap_major_version(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_major_version(p);
}
int CDECL wine_pcap_minor_version(pcap_t *p)
{
TRACE("(%p)\n", p);
return pcap_minor_version(p);
}

View File

@ -40,8 +40,8 @@
@ stub pcap_lookupdev
@ stub pcap_lookupnet
@ stub pcap_loop
@ stub pcap_major_version
@ stub pcap_minor_version
@ cdecl pcap_major_version(ptr) wine_pcap_major_version
@ cdecl pcap_minor_version(ptr) wine_pcap_minor_version
@ stub pcap_next
@ stub pcap_next_etherent
@ stub pcap_next_ex