diff options
-rw-r--r-- | pcapio.c | 4 | ||||
-rw-r--r-- | pcapio.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -370,9 +370,9 @@ libpcap_write_interface_description_block(FILE *fp, Returns TRUE on success, FALSE on failure. */ gboolean libpcap_write_enhanced_packet_block(FILE *fp, - struct pcap_pkthdr *phdr, + const struct pcap_pkthdr *phdr, guint32 interface_id, - u_char *pd, + const u_char *pd, long *bytes_written, int *err) { @@ -65,9 +65,9 @@ libpcap_write_interface_statistics_block(FILE *fp, extern gboolean libpcap_write_enhanced_packet_block(FILE *fp, - struct pcap_pkthdr *phdr, + const struct pcap_pkthdr *phdr, guint32 interface_id, - u_char *pd, + const u_char *pd, long *bytes_written, int *err); |