Ethereal-dev: Re: [ethereal-dev] register.c equivalent for ETT values?

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 29 Oct 1999 10:38:38 -0700 (PDT)
Actually, the "equivalent" might just be calling routines, inside the
protocol's "register" routine, to register subtree types; no need for a
second routine.

Yes, it would definitely be worthwhile.  Ultimately, the only file one
should have to edit to add a new protocol (unless some part of the
infrastructure needs changing, or some new capabilities need to be added
or some fixes need to be made to service routines in e.g.  "xdlc.c" or
"resolv.c", or the protocol is to be added to an existing dissector
file) should be "Makefile.am".  (Well, and "gtk/main.c" and
"doc/ethereal.pod.template" to add your name, if it's the first thing
you've added to Ethereal, and "AUTHORS" to add your name if it's not
already there and to add your new contribution.)