wpcap: Implement pcap_freecode.

This commit is contained in:
André Hentschel 2014-08-15 21:53:51 +02:00 committed by Alexandre Julliard
parent c180d522ae
commit 03d067183f
2 changed files with 7 additions and 1 deletions

View file

@ -55,6 +55,12 @@ void CDECL wine_pcap_freealldevs(pcap_if_t *alldevs)
pcap_freealldevs(alldevs);
}
void CDECL wine_pcap_freecode(struct bpf_program *fp)
{
TRACE("(%p)\n", fp);
return pcap_freecode(fp);
}
char* CDECL wine_pcap_geterr(pcap_t *p)
{
TRACE("(%p)\n", p);

View file

@ -27,7 +27,7 @@
@ cdecl pcap_findalldevs(ptr ptr) wine_pcap_findalldevs
@ stub pcap_findalldevs_ex
@ cdecl pcap_freealldevs(ptr) wine_pcap_freealldevs
@ stub pcap_freecode
@ cdecl pcap_freecode(ptr) wine_pcap_freecode
@ stub pcap_get_airpcap_handle
@ cdecl pcap_geterr(ptr) wine_pcap_geterr
@ stub pcap_getevent