Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/plugins plugin_table.h

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Jan 2001 00:32:08 -0600 (CST)
guy         2001/01/09 00:32:08 CST

  Modified files:
    plugins              plugin_table.h 
  Log:
  Add an additional "protocol index" argument to "{old_}dissector_add()",
  "{old_}heur_dissector_add()", "{old_}conv_dissector_add()", and
  "register_dissector()", so that an entry in those tables has associated
  with it the protocol index of the protocol the dissector handles (or -1,
  if there is no protocol index for it).
  
  This is for future use in a number of places.
  
  (Arguably, "proto_register_protocol()" should take a dissector pointer
  as an argument, but
  
  	1) it'd have to handle both regular and heuristic dissectors;
  
  	2) making it take either a "dissector_t" or a union of that and
  	   a "heur_dissector_t" introduces some painful header-file
  	   interdependencies
  
  so I'm punting on that for now.  As with other Ethereal internal APIs,
  these APIs are subject to change in the future, at least until Ethereal
  1.0 comes out....)
  
  Revision  Changes    Path
  1.14      +6 -5      ethereal/plugins/plugin_table.h