diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-04-26 19:24:36 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-04-26 19:24:36 +0000 |
commit | 452569ecae790e38f9a246df7ca34de5e0420b77 (patch) | |
tree | 82799b10dffae0e7b506f185a4bd060e915f16cb | |
parent | 2ac108863ed04fe9125b057efb58a4e016582a5e (diff) |
constify some args of libpcap_write_enhanced_packet_block()
similar to libpcap_write_packet().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28161 f5534014-38df-0310-8fa8-9805f1628bb7
-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); |