Wireshark-commits: [Wireshark-commits] rev 48689: /trunk/ /trunk/ui/gtk/: capture_file_dlg.c /trunk
Date: Mon, 01 Apr 2013 20:36:44 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48689

User: guy
Date: 2013/04/01 01:36 PM

Log:
 Define a collection of bits for different types of capture file comments.
 
 For each capture file type, have a bitset of comment types supported by
 that capture file type.
 
 Add a Wiretap routine that, for a given file type, returns the bitset of
 comment types it supports.
 
 Have wtap_get_savable_file_types() take a bitset of comment types that
 need to be supported by the file types it returns.
 
 Replace cf_has_comments() with a routine that returns a bitset of
 capture file comment types in the capture file.
 
 Use those routines in the capture file dialogs; don't wire in the notion
 that pcap-NG supports all comment types and no other file formats
 support any comment types.  (That's currently true, but we don't want to
 wire that in as being forever true.)

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +52 -47    capture_file_dlg.c    Modified

Directory: /trunk/ui/qt/
  Changes    Path                       Action
  +33 -25    capture_file_dialog.cpp    Modified

Directory: /trunk/
  Changes    Path          Action
  +10 -4     file.c        Modified
  +3 -3      file.h        Modified

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

Directory: /trunk/wiretap/
  Changes    Path             Action
  +170 -89   file_access.c    Modified
  +30 -2     wtap.h           Modified