diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 16:08:18 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 16:08:18 +0000 |
commit | dce1889fd7e70809fefd85cccbf4ee426fd77106 (patch) | |
tree | fda3612fc819dbdf37ddbe60b96647ee60a36b77 /wiretap/pcap-common.h | |
parent | a41d93603c07fa8b6a7a334e7bf969ebd188085e (diff) |
Cleanup. Should be included in Wireshark 1.2.1 and higher to keep
merging future bug fixes simple.
svn path=/trunk/; revision=28863
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index 473c852aa8..cf4f81ed1e 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -26,12 +26,13 @@ extern int wtap_wtap_encap_to_pcap_encap(int encap); -extern int pcap_process_pseudo_header(wtap *wth, int encap, FILE_T fh, guint packet_size, +extern int pcap_process_pseudo_header(FILE_T fh, int file_type, int wtap_encap, + gboolean byte_swapped, guint packet_size, gboolean check_packet_size, struct wtap_pkthdr *phdr, union wtap_pseudo_header *pseudo_header, int *err, gchar **err_info); extern int pcap_get_phdr_size(int encap, const union wtap_pseudo_header *pseudo_header); -extern gboolean pcap_write_phdr(wtap_dumper *wdh, int encap, +extern gboolean pcap_write_phdr(wtap_dumper *wdh, int wtap_encap, const union wtap_pseudo_header *pseudo_header, int *err); |