Ethereal-dev: Re: [ethereal-dev] Re: [ethereal-users] RTP

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 10 May 2000 02:44:04 -0500
On Wed, May 10, 2000 at 09:22:12AM +0200, andreas.sikkema@xxxxxxxxxxx wrote:
> My copy of Ethereal is doing H.225 Call Signalling and RAS now, but the source 
> generated ( including all stuff related to Ethereal ) by the ASN.1 compiler is 
> absolutely HUGE ( think 1 MByte ) and very C++.
> 
> But it should enable Ethereal to do quite large ASN.1 defined protocols in BER AND 
> PER without a lot of handcoding.
> 
> Have there been any big changes to the proto_tree* functions or the registration of
> protocols since 0.8.4?

A big one in 0.8.5. From the NEWS file:

* Break proto_tree_add* functions into many more (Gilbert, Guy)

Specifically, the proto_tree_add_item_format() function is gone.
We split that into multiple functions so that when compiling with gcc the compiler
could warn about an incorrect number of arguments to the printf() format. To do that,
gcc needed the printf()-style format as a named argument in the function prototype.
We had to move the "..." over a few fields.

And as my previous e-mail mentioned, I'm planning a big change. 

--gilbert