Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal register.h Makefile.am proto.c configure.in

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 20 Oct 1999 01:28:35 -0500 (CDT)
guy         1999/10/20 01:28:33 CDT

  Modified files:
    .                    Makefile.am proto.c configure.in 
  Added files:
    .                    register.h 
  Log:
  Automatically generate a function to call the register routines for all
  protocols (idea shamelessly stolen from GDB).  We require that the
  register routines
  
  	1) be located in "packet.c" or in one of the "packet-XXX.c"
  	   files;
  
  	2) have a name of the form "proto_register_XXX";
  
  	3) take no argument, and return no value;
  
  	4) have their names appear in the source file either at the
  	   beginning of the line, or preceded only by "void " at the
  	   beginning of the line;
  
  and we require that "packet-XXX.c" files be added to "DISSECTOR_SOURCES"
  in "Makefile.am".
  
  Revision  Changes    Path
  1.91      +72 -25    ethereal/Makefile.am
  1.46      +7 -134    ethereal/proto.c
  1.53      +4 -1      ethereal/configure.in