Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c plugins.c plugins.h

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

Date Prev Thread Prev
From: Olivier Abad <oabad@xxxxxxxxxxxx>
Date: Fri, 31 Mar 2000 15:42:30 -0600 (CST)
oabad       2000/03/31 15:42:28 CST

  Modified files:
    .                    file.c plugins.c plugins.h 
  Log:
  Add a counter : "enabled_plugins_number", to record how many plugins are
  enabled. The counter is incremented in enable_plugin() and decremented
  in disable_plugin().
  In add_packet_to_packet_list(), we check this counter (instead of
  plugin_list) to see if there is at least one enabled plugin. If this is
  the case, we must build the protocol tree.
  
  Revision  Changes    Path
  1.174     +2 -2      ethereal/file.c
  1.12      +5 -1      ethereal/plugins.c
  1.6       +2 -1      ethereal/plugins.h