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

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 1 Jul 2004 10:14:35 +0200
On Thu, Jul 01, 2004 at 12:52:30AM -0700, Guy Harris wrote:
> I.e., over the names and signatures of those APIs?

Yes.

> 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.

Yes, something like "echo #define APIHASH `md5sum ...`>apihash.h"

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

Hmm, I had not thought about this. Well, it would habe been too simple :-)

 Ciao
         Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.