Wireshark-commits: [Wireshark-commits] rev 19967: /trunk/ /trunk/epan/: proto.c proto.h /trunk/gtk/

Date: Thu, 23 Nov 2006 21:16:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19967

User: guy
Date: 2006/11/23 09:16 PM

Log:
 Rename proto_construct_dfilter_string() to
 proto_construct_match_selected_string() to indicate what it does - and
 have it return a Boolean indication of whether the string could be
 built, returning the string through a pointer, and, if that pointer is
 null, have it just return the Boolean and not construct the string.
 
 Get rid of proto_can_match_selected() -
 proto_construct_match_selected_string() can be used for that, which
 means we have only one piece of code that knows whether a "match
 selected" string can be constructed or not.
 
 Have proto_construct_match_selected_string() support matching
 zero-length FT_NONE (and FT_PCRE, but that shouldn't happen) fields even
 if there's no epan_dissect_t, as such a match just checks whether the
 field is present.

Directory: /trunk/epan/
  Changes    Path          Action
  +75 -124   proto.c       Modified
  +6 -9      proto.h       Modified

Directory: /trunk/gtk/
  Changes    Path                   Action
  +13 -11    expert_comp_table.c    Modified
  +7 -4      main.c                 Modified
  +4 -4      menu.c                 Modified

Directory: /trunk/
  Changes    Path                  Action
  +2 -3      print.c               Modified
  +1 -2      tap-protocolinfo.c    Modified