aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.def
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 /wiretap/wtap.def
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 'wiretap/wtap.def')
-rw-r--r--wiretap/wtap.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/wtap.def b/wiretap/wtap.def
index afb4ad00b6..7b7c99682e 100644
--- a/wiretap/wtap.def
+++ b/wiretap/wtap.def
@@ -45,6 +45,7 @@ wtap_dump_set_addrinfo_list
wtap_encap_short_string
wtap_encap_string
wtap_file_encap
+wtap_get_savable_file_types
wtap_get_file_extensions_list
wtap_free_file_extensions_list
wtap_file_size