Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 40685: /trunk/ /trunk/ui/gtk/: capture_file_dlg.c /trunk

Date: Tue, 24 Jan 2012 04:33:24 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40685

User: guy
Date: 2012/01/23 08:33 PM

Log:
 Add a routine to Wiretap that takes a file type value and an
 encapsulation value and returns a GArray containing all the file types
 that could be used to save a file of that file type and that
 encapsulation value (which could be WTAP_ENCAP_PER_PACKET), with the
 input file type first if that can be used and pcap or pcap-ng first if
 not and if one of them can be used, and with pcap and pcap-ng clustered
 together if they're among the file types that can be used.
 
 Use that routine for the GTK+ file save dialog.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +14 -58    capture_file_dlg.c    Modified

Directory: /trunk/wiretap/
  Changes    Path             Action
  +83 -0     file_access.c    Modified
  +1 -0      wtap.def         Modified
  +8 -1      wtap.h           Modified