Wireshark-dev: Re: [Wireshark-dev] field reg

From: "Martin Corraine (mcorrain)" <mcorrain@xxxxxxxxx>
Date: Mon, 18 Aug 2008 15:25:34 -0400
Thanks Chris but I can't get the value_string to be outputted. Is there a way to tell the proto_tree_add_xxx_format()function to just output the value_string and nothing else?
 
Thanks,
Martin

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Maynard, Chris
Sent: Monday, August 18, 2008 10:25 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] field reg

Have a look at section 1.6.2 of doc/README.developer or look at epan/proto.h.  There are many functions of the form, “proto_tree_add_xxx_format()” that should enable you to display fields however you wish.

 

- Chris

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Martin Corraine (mcorrain)
Sent: Monday, August 18, 2008 10:08 AM
To: Developer support list for Wireshark
Subject: [Wireshark-dev] field reg

 

Hello all,

 

When I display a field, can I have it display as follows: "Name of Message (42)" instead of like this: "Message Value: Name of Message (42)? I have another tree that encompasses these fields and I have no need to describe the field any further.  I was think of just using a space but then I would have a random colon. In other words I want to just output the value_string. Appreciate any advice.

 

Thanks,

Martin

 

 

 

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.