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

Date: Mon, 01 Apr 2013 21:17:51 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48690

User: guy
Date: 2013/04/01 02:17 PM

Log:
 Add a wtap_dump_can_write() routine that indicates whether Wiretap
 supports writing files with a given set of encapsulations and comment
 types.  Use it, rather than asking for a list of file formats that
 support the given set of encapsulation and comment types and checking
 whether we got back such a list, or duplicating its logic.
 
 Having file.c use it means that nobody's using
 wtap_dump_can_write_encaps() any more; get rid of it.  Instead, have a
 private routine that checks whether a given file format supports a given
 set of encapsulations *and* comment types, and use that internally.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +2 -12     capture_file_dlg.c    Modified

Directory: /trunk/ui/qt/
  Changes    Path                       Action
  +1 -6      capture_file_dialog.cpp    Modified

Directory: /trunk/
  Changes    Path          Action
  +7 -13     file.c        Modified

Directory: /trunk/ui/win32/
  Changes    Path                Action
  +1 -6      file_dlg_win32.c    Modified

Directory: /trunk/wiretap/
  Changes    Path             Action
  +53 -17    file_access.c    Modified
  +7 -7      wtap.h           Modified