Ethereal-dev: Re: [ethereal-dev] Bits 'n' pieces

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

From: Neil Hunter <neil.hunter@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2000 15:08:57 +0100 (BST)
On Fri, 14 Jul 2000, Gilbert Ramirez wrote:

> Great! I thought about doing this a while back because this "double-wide"
> format would work a lot better on my 1600x1200 resolution monitor at work,
> where I have the pixels for it. At home I still need the "classic" format.

Likewise! The WTP/WSP tree is growing steadily and I wanted to be able to see
most of it! The only problem is that on first glance the "view in new 
window" code doesn't appear to have access to the preferences that the main
window creation code does, so this appears in the original layout.

> Does anyone know if any other protocol needs this? What about the ASN.1-derived
> protocols? Even if no other protocols use it, I'd say leave it in tvbuff.c,
> as long as it has a sensible name (not someting WSP-specific, like
> tvb_get_wsp_guint()).

Its simply called tvb_get_guintvar at the moment - along with supporting
functions to display such values.

> Do they have an initial byte representing their length, or are the of
> a pre-determined length?

Their length is pre-defined - hence the removal of the terminating character.

> Guy - what are your thoughts? How's your work on the FT_STRING additions?
> (FT_NSTRING would be good for this, although I can't remember now if
> that's what you were working on, or if it was FT_STRINGZ. I think
> you were working on FT_STRINGZ, and I thought to myself that FT_NSTRING
> would be a good idea, too.)

FT_NSTRING sounds like an ideal solution!

Cheers,
  Neil

-------------------------------------------------------------------------------
  Neil Hunter                                     Tel:    +44 (0)113 207 6073
  Internet Systems Developer                      Fax:    +44 (0)113 234 6065
  Energis Squared                                 Mobile: +44 (0)7787 100 649
  http://www.energis-squared.com/
                    ---------------------------------------
  This email is confidential and may be privileged. If you are not the named
  recipient please notify the sender immediately and do not disclose to
  another person or use it and take copies. If you receive this message in
  error please call the switchboard on + 44 (0)113 234 5100.
-------------------------------------------------------------------------------