aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-01-24 04:33:23 +0000
committerGuy Harris <guy@alum.mit.edu>2012-01-24 04:33:23 +0000
commitc8854a7a5fd5e61a9a0d65a9b61a372432ef6f9a (patch)
treee68777472dfc00ecf7ff3de03939646adbcc2f7d /util.c
parenta2c21a2b53ea64532b3a451c9569be8fde85aacf (diff)
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. svn path=/trunk/; revision=40685
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions