Ethereal-dev: Re: [Ethereal-dev] Libethereal version

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

From: Guy Harris <[email protected]>
Date: Thu, 1 Jul 2004 00:52:30 -0700
On Thu, Jul 01, 2004 at 09:36:00AM +0200, Joerg Mayer wrote:
> Just an idea: Why use a version number? Maybe a hash over the generated
> exported apis would be more useful.

I.e., over the names and signatures of those APIs?

That'd probably be reasonably accurate (if the hash is big enough - it
doesn't have to be ultra-efficient, as it'd presumably be done at build
time), and, if it can be automatically generated, would be more reliable
than requiring a person to remember to update a version number.

How would the signature be automatically determined (and this includes
the layout of structures being passed to routines)?