summaryrefslogtreecommitdiff
path: root/wiretap/wtap.def
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-17 16:44:09 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-17 16:44:09 +0000
commit2bd813507a5a42c298d09ac8d83ca1eebd8db277 (patch)
treea3082031a16fbc243f696cf378ab53b9030238c1 /wiretap/wtap.def
parent4ad0bf65f2ebecf1b501ba7733063d9c0f8e3f1d (diff)
downloadwireshark-2bd813507a5a42c298d09ac8d83ca1eebd8db277.tar.gz
Export a wtap_dump_can_write_encaps() routine from Wiretap; it takes a
file type and a GArray of encapsulation types and returns TRUE if a capture with all those encapsulation types can be written to a file in that file type and FALSE otherwise. Use it where appropriate. svn path=/trunk/; revision=43315
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 143e25f554..7da50417a2 100644
--- a/wiretap/wtap.def
+++ b/wiretap/wtap.def
@@ -30,6 +30,7 @@ wtap_default_file_extension
wtap_dump
wtap_dump_can_open
wtap_dump_can_write_encap
+wtap_dump_can_write_encaps
wtap_dump_can_compress
wtap_dump_close
wtap_dump_fdopen