Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk dfilter_expr_dlg.c help_dlg.c proto_dlg.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Sun, 16 Nov 2003 17:17:26 -0600 (CST)
guy         2003/11/16 17:17:26 CST

  Modified files:
    gtk                  dfilter_expr_dlg.c help_dlg.c proto_dlg.c 
  Log:
  Export "protocol_t" as an opaque type.
  
  Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
  take a "protocol_t *" as an argument, so they don't have to look up the
  "protocol_t" - this will probably speed them up considerably, and
  they're called on almost every dissector handoff.
  
  Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
  necessary (dissectors called through handles, including those called
  through dissector tables, or called as heuristic dissectors, aren't even
  called if their protocol isn't enabled).
  
  Change some direct dissector calls to go through handles.
  
  Revision  Changes    Path
  1.43      +6 -3      ethereal/gtk/dfilter_expr_dlg.c
  1.36      +8 -4      ethereal/gtk/help_dlg.c
  1.27      +11 -5     ethereal/gtk/proto_dlg.c