Keep track, in Wiretap, of whether the file is compressed, and provide
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 May 2012 05:05:29 +0000 (05:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 May 2012 05:05:29 +0000 (05:05 +0000)
commit05d400b41036c4824edc6279d08e322914e4f63c
tree8e14522dbdae5295fd41a236e7f9e49daab36c4e
parente103a85fb822e5586495697e4c1b7496fa63b3a8
Keep track, in Wiretap, of whether the file is compressed, and provide
an API to fetch that.

When doing "Save" on a compressed file, write it out compressed.

In the Statistics -> Summary dialog and in capinfos, report whether the
file is gzip-compressed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@42818 f5534014-38df-0310-8fa8-9805f1628bb7
12 files changed:
capinfos.c
cfile.h
file.c
summary.c
summary.h
ui/gtk/capture_file_dlg.c
ui/gtk/summary_dlg.c
wiretap/file_wrappers.c
wiretap/file_wrappers.h
wiretap/wtap.c
wiretap/wtap.def
wiretap/wtap.h