Have you looked into using proto_tree_add_string() and friends, such as 
proto_tree_add_string_format() and proto_tree_add_string_format_value()?
- Chris

> -----Original Message-----
> From: Wireshark-dev <wireshark-dev-boun...@wireshark.org> On Behalf
> Of Bernhard Dick
> Sent: Thursday, November 24, 2022 11:03 AM
> To: wireshark-dev@wireshark.org
> Subject: [Wireshark-dev] Custom display formatting for FT_STRING
>
> CAUTION: This email originated outside of IGT. Do not click links or open
> attachments unless you recognize the sender and know the content is
> safe.
>
>
>
> Hi,
> I'm searching for a way to do custom formatting of the output of
> FT_STRING header fields in dissectors, to be able to show informative
> abbreviations for Control code values as they represent pressed key
> informations in that case.
> For integer values there exist the different variants for custom_fmt_func_t,
> is there any equivalent or can you give me some hints how to achieve this.
>
>    Best regards
>      Bernhard











CONFIDENTIALITY NOTICE: This message is the property of International Game 
Technology PLC and/or its subsidiaries and may contain proprietary, 
confidential or trade secret information. This message is intended solely for 
the use of the addressee. If you are not the intended recipient and have 
received this message in error, please delete this message from your system. 
Any unauthorized reading, distribution, copying, or other use of this message 
or its attachments is strictly prohibited.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to